15 #  define WIN32_LEAN_AND_MEAN    22 #if defined(HAVE_UNISTD_H)    35 size_t GetLine(FILE * File, 
char *Line, 
int count);
    50 const char *
GetOS(
void);
    68 #define MAX(a,b) ((a)>(b) ? (a) : (b))    70 #define MIN(a,b) ((a)<(b) ? (a) : (b))    73 #  if !defined(HAVE_UNISTD_H) || defined(__MINGW32__)    74 #    define sleep(x) Sleep((x) * 1000)    75 #    define usleep(x) Sleep(((x) < 1000) ? 1 : ((x) / 1000))    80 #if defined __GNUC__ && defined __GNUC_MINOR__    81 # define GSM_GNUC_PREREQ(maj, min) \    82         ((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min))    84 # define GSM_GNUC_PREREQ(maj, min) 0    88 #if GSM_GNUC_PREREQ (2,8) || defined(__clang__)    89 #define PRINTF_STYLE(f, a) __attribute__ ((format(__printf__, f, a)))    90 #define SCANF_STYLE(f, a) __attribute__ ((format(__scanf__, f, a)))    92 #define PRINTF_STYLE(f, a)    93 #define SCANF_STYLE(f, a)    96 #if GSM_GNUC_PREREQ (3,4) || defined(__clang__)    97 #define WARNUNUSED __attribute__ ((__warn_unused_result__))   102 #if GSM_GNUC_PREREQ (3,1) || defined(__clang__)   103 #define UNUSED __attribute__ ((unused))   108 #if defined(__GNUC__) || defined(__clang__)   109 #define NORETURN __attribute__((__noreturn__))   116 #define snprintf _snprintf   120 #ifndef HAVE_MACRO_FUNCTION   121 # ifdef HAVE_MACRO_FUNC   122 #  define __FUNCTION__ __FUNC__   123 #  define __FUNCTION__WORKING   125 #  define __FUNCTION__ "unknown"   128 # define __FUNCTION__WORKING   132 #ifndef HAVE_STRTOULL   136 #define strtoull _strtoui64   138 #define strtoull(A,B,C) strtoul((A),(B),(C))   144 typedef long ssize_t;
   148 #ifndef HAVE_INTPTR_T   149 typedef int intptr_t;
   155 void EncodeHexBin(
char *dest, 
const unsigned char *src, 
size_t len);
   166                         const char *current_version);
 gboolean GSM_IsNewerVersion(const char *latest_version, const char *current_version)
 
const char * GetCompiler(void)
 
struct _GSM_StateMachine GSM_StateMachine
 
const char * GetGammuLocalePath(void)
 
void EncodeHexBin(char *dest, const unsigned char *src, size_t len)
 
const char * GetGammuVersion(void)
 
size_t GetLine(FILE *File, char *Line, int count)
 
GSM_Error GSM_SetPower(GSM_StateMachine *s, gboolean on)
 
void GSM_InitLocales(const char *path)