00001 #ifndef __HTOND_H__ 00002 #define __HTOND_H__ 00003 00004 #include "stm_export.h" 00005 00006 #ifdef __cplusplus 00007 extern "C" { 00008 #endif 00009 00010 double STM_EXPORT sp_htond(double); 00011 double STM_EXPORT sp_ntohd(double); 00012 00013 float STM_EXPORT sp_htonf(float); 00014 float STM_EXPORT sp_ntohf(float); 00015 00016 unsigned long STM_EXPORT sp_htonl(unsigned long); 00017 unsigned long STM_EXPORT sp_ntohl(unsigned long); 00018 00019 unsigned short STM_EXPORT sp_htons(unsigned short); 00020 unsigned short STM_EXPORT sp_ntohs(unsigned short); 00021 #ifdef __cplusplus 00022 } 00023 #endif 00024 00025 #endif