xorp

fp64serial.h

00001 /* -*- c-basic-offset: 4; tab-width: 8; indent-tabs-mode: t -*-
00002  * vim:set sts=4 ts=8: */
00003 
00004 /*
00005  * Copyright (c) 2001-2011 XORP, Inc and Others
00006  *
00007  * This program is free software; you can redistribute it and/or modify
00008  * it under the terms of the GNU Lesser General Public License, Version
00009  * 2.1, June 1999 as published by the Free Software Foundation.
00010  * Redistribution and/or modification of this program under the terms of
00011  * any other version of the GNU Lesser General Public License is not
00012  * permitted.
00013  *
00014  * This program is distributed in the hope that it will be useful, but
00015  * WITHOUT ANY WARRANTY; without even the implied warranty of
00016  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For more details,
00017  * see the GNU Lesser General Public License, Version 2.1, a copy of
00018  * which can be found in the XORP LICENSE.lgpl file.
00019  *
00020  * XORP, Inc, 2953 Bunker Hill Lane, Suite 204, Santa Clara, CA 95054, USA;
00021  * http://xorp.net
00022  */
00023 
00024 #ifndef __LIBXIPC_FP64SERIAL_H__
00025 #define __LIBXIPC_FP64SERIAL_H__
00026 
00027 #include "fp64.h"
00028 
00029 #ifdef __cplusplus
00030 extern "C" {
00031 #endif
00032 
00033   extern uint_fast64_t fp64enc(fp64_t);
00034   extern fp64_t fp64dec(uint_fast64_t);
00035 
00036 #ifdef __cplusplus
00037 }
00038 #endif
00039 
00040 #endif
 All Classes Namespaces Functions Variables Typedefs Enumerations