Gammu internals
1.38.0
|
#include <ctype.h>
#include <string.h>
#include <time.h>
#include <stdio.h>
#include "misc/locales.h"
#include "debug.h"
#include <gammu-debug.h>
#include "gsmcomon.h"
Go to the source code of this file.
Data Structures | |
struct | PrintErrorEntry |
Functions | |
GSM_Error | NoneFunction (void) |
GSM_Error | NotImplementedFunction (void) |
GSM_Error | NotSupportedFunction (void) |
void | GSM_InitLocales (const char UNUSED *path) |
const char * | GSM_ErrorName (GSM_Error e) |
const char * | GSM_ErrorString (GSM_Error e) |
const char * | GetGammuLocalePath (void) |
const char * | GetGammuVersion (void) |
GSM_Debug_Info * | GSM_GetGlobalDebug () |
void | GSM_LogError (GSM_StateMachine *s, const char *message, const GSM_Error err) |
Variables | |
static PrintErrorEntry | PrintErrorEntries [] |
const char* GetGammuLocalePath | ( | void | ) |
const char* GetGammuVersion | ( | void | ) |
void GSM_InitLocales | ( | const char UNUSED * | path | ) |
Initializes locales from given path or from system default.
path | Optional path to locales, can be NULL. |
Definition at line 57 of file gsmcomon.c.
Referenced by NotSupportedFunction().
GSM_Error NoneFunction | ( | void | ) |
Definition at line 23 of file gsmcomon.c.
References ERR_NONE.
GSM_Error NotImplementedFunction | ( | void | ) |
Definition at line 28 of file gsmcomon.c.
References ERR_NOTIMPLEMENTED.
GSM_Error NotSupportedFunction | ( | void | ) |
Definition at line 33 of file gsmcomon.c.
References ERR_NOTSUPPORTED, GSM_InitLocales(), and LOCALE_PATH.
|
static |
Mapping of error numbers to descriptions.
Definition at line 83 of file gsmcomon.c.