6 #if defined(_MSC_VER) && defined(__cplusplus) 10 #define GAMMU_URL "<http://www.gammu.org>" 11 #define BACKUP_MAIN_HEADER "; This file format was designed for Gammu and is compatible with Gammu+" 12 #define BACKUP_INFO_HEADER "; See " GAMMU_URL " for more info" 18 #define WIN32_LEAN_AND_MEAN 52 void SplitLines(
const char *message,
const size_t messagesize,
GSM_CutLines *lines,
const char *whitespaces,
const size_t spaceslen,
const char *quotes,
const size_t quoteslen,
const gboolean eot);
95 int GetDayOfYear(
unsigned int year,
unsigned int month,
unsigned int day);
101 int GetWeekOfMonth(
unsigned int year,
unsigned int month,
unsigned int day);
107 int GetDayOfWeek(
unsigned int year,
unsigned int month,
unsigned int day);
112 #define socket_invalid (INVALID_SOCKET) 115 #define socket_invalid (-1) 125 #if defined(_MSC_VER) && defined(__cplusplus) const char * GetLineString(const char *message, GSM_CutLines *lines, int start)
void CopyLineString(char *dest, const char *src, const GSM_CutLines *lines, int start)
int GetWeekOfMonth(unsigned int year, unsigned int month, unsigned int day)
int GetDayOfYear(unsigned int year, unsigned int month, unsigned int day)
int GetDayOfWeek(unsigned int year, unsigned int month, unsigned int day)
void SplitLines(const char *message, const size_t messagesize, GSM_CutLines *lines, const char *whitespaces, const size_t spaceslen, const char *quotes, const size_t quoteslen, const gboolean eot)
void StripSpaces(char *buff)
int GetLineLength(const char *message, const GSM_CutLines *lines, int start)
void FreeLines(GSM_CutLines *lines)
void InitLines(GSM_CutLines *lines)
void GetTimeDifference(unsigned long diff, GSM_DateTime *DT, gboolean Plus, int multi)
GSM_DateTime GSM_AddTime(GSM_DateTime DT, GSM_DeltaTime delta)