Gammu internals
1.38.0
|
Data Structures | |
struct | GSM_Phone_DUMMYData |
Macros | |
#define | MKDIR(dir) mkdir(dir, 0755) |
#define | PATH_MAX (4069) |
#define | DUMMY_MAX_LOCATION (10000) |
#define | DUMMY_MAX_SMS (10000) |
#define | DUMMY_MAX_MEM (10000) |
#define | DUMMY_MAX_TODO (10000) |
#define | DUMMY_MAX_FS_DEPTH (20) |
This driver emulates phone operations on storage on filesystem.
Device name defines folder, then following files and directories are used:
#define DUMMY_MAX_FS_DEPTH (20) |
Definition at line 39 of file dummy.h.
Referenced by DUMMY_GetFolderListing(), DUMMY_GetNextFileFolder(), DUMMY_Initialise(), and DUMMY_Terminate().
#define DUMMY_MAX_LOCATION (10000) |
Definition at line 35 of file dummy.h.
Referenced by DUMMY_DeleteAll(), DUMMY_GetCount(), DUMMY_GetFirstFree(), and DUMMY_GetNext().
#define DUMMY_MAX_MEM (10000) |
Definition at line 37 of file dummy.h.
Referenced by DUMMY_GetMemoryStatus().
#define DUMMY_MAX_SMS (10000) |
Definition at line 36 of file dummy.h.
Referenced by DUMMY_GetSMS(), DUMMY_GetSMSPath(), and DUMMY_GetSMSStatus().
#define DUMMY_MAX_TODO (10000) |
Definition at line 38 of file dummy.h.
Referenced by DUMMY_GetCalendarStatus(), DUMMY_GetNoteStatus(), and DUMMY_GetToDoStatus().
#define MKDIR | ( | dir | ) | mkdir(dir, 0755) |
Definition at line 56 of file dummy.c.
Referenced by DUMMY_AddFolder(), and DUMMY_Initialise().
#define PATH_MAX (4069) |
Definition at line 31 of file dummy.h.
Referenced by GSM_FindGammuRC().
GSM_Error DUMMY_AddCalendar | ( | GSM_StateMachine * | s, |
GSM_CalendarEntry * | entry | ||
) |
Definition at line 1755 of file dummy.c.
References DUMMY_GetFirstFree(), DUMMY_SetCalendar(), ERR_FULL, and GSM_CalendarEntry::Location.
GSM_Error DUMMY_AddFilePart | ( | GSM_StateMachine * | s, |
GSM_File * | File, | ||
size_t * | Pos, | ||
int * | Handle | ||
) |
Definition at line 1101 of file dummy.c.
References GSM_File::Buffer, CopyUnicodeString(), DUMMY_Error(), DUMMY_GetFSFilePath(), ERR_EMPTY, ERR_PERMISSION, GSM_File::ID_FullName, GSM_File::Name, UnicodeLength(), and GSM_File::Used.
Referenced by DUMMY_SendFilePart().
GSM_Error DUMMY_AddFolder | ( | GSM_StateMachine * | s, |
GSM_File * | File | ||
) |
Definition at line 1399 of file dummy.c.
References CopyUnicodeString(), DUMMY_Error(), DUMMY_GetFSFilePath(), ERR_NONE, GSM_File::ID_FullName, MKDIR, GSM_File::Name, and UnicodeLength().
GSM_Error DUMMY_AddMemory | ( | GSM_StateMachine * | s, |
GSM_MemoryEntry * | entry | ||
) |
Definition at line 1540 of file dummy.c.
References DUMMY_GetFirstFree(), DUMMY_SetMemory(), ERR_FULL, GSM_MemoryTypeToString, GSM_MemoryEntry::Location, and GSM_MemoryEntry::MemoryType.
GSM_Error DUMMY_AddNote | ( | GSM_StateMachine * | s, |
GSM_NoteEntry * | entry | ||
) |
Definition at line 1870 of file dummy.c.
References DUMMY_GetFirstFree(), DUMMY_SetNote(), ERR_FULL, and GSM_NoteEntry::Location.
GSM_Error DUMMY_AddSMS | ( | GSM_StateMachine * | s, |
GSM_SMSMessage * | sms | ||
) |
Definition at line 574 of file dummy.c.
References DUMMY_GetFirstFree(), DUMMY_SetSMS(), ERR_FULL, GSM_SMSMessage::Folder, and GSM_SMSMessage::Location.
GSM_Error DUMMY_AddToDo | ( | GSM_StateMachine * | s, |
GSM_ToDoEntry * | entry | ||
) |
Definition at line 1651 of file dummy.c.
References DUMMY_GetFirstFree(), DUMMY_SetToDo(), ERR_FULL, and GSM_ToDoEntry::Location.
char* DUMMY_AlarmPath | ( | GSM_StateMachine * | s, |
GSM_Alarm * | entry | ||
) |
Definition at line 256 of file dummy.c.
References DUMMY_GetFilePath(), and GSM_Alarm::Location.
Referenced by DUMMY_DeleteAlarm(), DUMMY_GetAlarm(), and DUMMY_SetAlarm().
GSM_Error DUMMY_AnswerCall | ( | GSM_StateMachine * | s, |
int | ID, | ||
gboolean | all | ||
) |
Definition at line 701 of file dummy.c.
References GSM_Phone::Data, GSM_Phone_Data::DUMMY, ERR_NONE, GSM_Phone_DUMMYData::log_file, _GSM_StateMachine::Phone, and GSM_Phone_Data::Priv.
char* DUMMY_CalendarPath | ( | GSM_StateMachine * | s, |
GSM_CalendarEntry * | entry | ||
) |
Definition at line 249 of file dummy.c.
References DUMMY_GetFilePath(), and GSM_CalendarEntry::Location.
Referenced by DUMMY_DeleteCalendar(), DUMMY_GetCalendar(), and DUMMY_SetCalendar().
GSM_Error DUMMY_CancelAllDiverts | ( | GSM_StateMachine * | s | ) |
Definition at line 902 of file dummy.c.
References GSM_Phone::Data, GSM_Phone_DUMMYData::diverts, GSM_Phone_Data::DUMMY, GSM_MultiCallDivert::EntriesNum, ERR_NONE, _GSM_StateMachine::Phone, and GSM_Phone_Data::Priv.
GSM_Error DUMMY_CancelCall | ( | GSM_StateMachine * | s, |
int | ID, | ||
gboolean | all | ||
) |
Definition at line 763 of file dummy.c.
References GSM_Phone::Data, GSM_Phone_Data::DUMMY, ERR_NONE, GSM_Phone_DUMMYData::log_file, _GSM_StateMachine::Phone, and GSM_Phone_Data::Priv.
GSM_Error DUMMY_DeleteAlarm | ( | GSM_StateMachine * | s, |
GSM_Alarm * | entry | ||
) |
Definition at line 988 of file dummy.c.
References DUMMY_AlarmPath(), DUMMY_Error(), and ERR_NONE.
Referenced by DUMMY_SetAlarm().
GSM_Error DUMMY_DeleteAll | ( | GSM_StateMachine * | s, |
const char * | dirname | ||
) |
Definition at line 144 of file dummy.c.
References _GSM_StateMachine::CurrentConfig, GSM_Phone::Data, GSM_Config::Device, GSM_Phone_DUMMYData::devlen, GSM_Phone_Data::DUMMY, DUMMY_MAX_LOCATION, ERR_NONE, _GSM_StateMachine::Phone, and GSM_Phone_Data::Priv.
Referenced by DUMMY_DeleteAllCalendar(), DUMMY_DeleteAllMemory(), DUMMY_DeleteAllNote(), and DUMMY_DeleteAllToDo().
GSM_Error DUMMY_DeleteAllCalendar | ( | GSM_StateMachine * | s | ) |
Definition at line 1764 of file dummy.c.
References DUMMY_DeleteAll().
GSM_Error DUMMY_DeleteAllMemory | ( | GSM_StateMachine * | s, |
GSM_MemoryType | type | ||
) |
Definition at line 1552 of file dummy.c.
References DUMMY_DeleteAll(), and GSM_MemoryTypeToString.
GSM_Error DUMMY_DeleteAllNote | ( | GSM_StateMachine * | s | ) |
Definition at line 1879 of file dummy.c.
References DUMMY_DeleteAll().
GSM_Error DUMMY_DeleteAllToDo | ( | GSM_StateMachine * | s | ) |
Definition at line 1660 of file dummy.c.
References DUMMY_DeleteAll().
GSM_Error DUMMY_DeleteCalendar | ( | GSM_StateMachine * | s, |
GSM_CalendarEntry * | entry | ||
) |
Definition at line 1715 of file dummy.c.
References DUMMY_CalendarPath(), DUMMY_Error(), and ERR_NONE.
Referenced by DUMMY_SetCalendar().
GSM_Error DUMMY_DeleteFile | ( | GSM_StateMachine * | s, |
unsigned char * | ID | ||
) |
Definition at line 1362 of file dummy.c.
References DUMMY_Error(), DUMMY_GetFSFilePath(), ERR_EMPTY, ERR_FILENOTEXIST, and ERR_NONE.
GSM_Error DUMMY_DeleteFolder | ( | GSM_StateMachine * | s, |
unsigned char * | ID | ||
) |
Definition at line 1380 of file dummy.c.
References DUMMY_Error(), DUMMY_GetFSFilePath(), ERR_EMPTY, ERR_FILENOTEXIST, ERR_NONE, and smprintf().
GSM_Error DUMMY_DeleteMemory | ( | GSM_StateMachine * | s, |
GSM_MemoryEntry * | entry | ||
) |
Definition at line 1500 of file dummy.c.
References DUMMY_Error(), DUMMY_MemoryPath(), and ERR_NONE.
Referenced by DUMMY_SetMemory().
GSM_Error DUMMY_DeleteNote | ( | GSM_StateMachine * | s, |
GSM_NoteEntry * | entry | ||
) |
Definition at line 1831 of file dummy.c.
References DUMMY_Error(), DUMMY_NotePath(), and ERR_NONE.
Referenced by DUMMY_SetNote().
GSM_Error DUMMY_DeleteSMS | ( | GSM_StateMachine * | s, |
GSM_SMSMessage * | sms | ||
) |
Definition at line 527 of file dummy.c.
References DUMMY_Error(), DUMMY_GetSMSPath(), and ERR_NONE.
Referenced by DUMMY_SetSMS().
GSM_Error DUMMY_DeleteToDo | ( | GSM_StateMachine * | s, |
GSM_ToDoEntry * | entry | ||
) |
Definition at line 1611 of file dummy.c.
References DUMMY_Error(), DUMMY_ToDoPath(), and ERR_NONE.
Referenced by DUMMY_SetToDo().
GSM_Error DUMMY_DialService | ( | GSM_StateMachine * | s, |
char * | number | ||
) |
Definition at line 679 of file dummy.c.
References GSM_Phone::Data, GSM_Phone_Data::DUMMY, GSM_Phone_Data::EnableIncomingUSSD, EncodeUnicode(), ERR_NONE, GSM_MAX_USSD_LENGTH, _GSM_User::IncomingUSSD, _GSM_User::IncomingUSSDUserData, GSM_Phone_DUMMYData::log_file, _GSM_StateMachine::Phone, GSM_Phone_Data::Priv, GSM_USSDMessage::Status, GSM_USSDMessage::Text, _GSM_StateMachine::User, and USSD_NoActionNeeded.
GSM_Error DUMMY_DialVoice | ( | GSM_StateMachine * | s, |
char * | number, | ||
GSM_CallShowNumber | ShowNumber | ||
) |
Definition at line 670 of file dummy.c.
References GSM_Phone::Data, GSM_Phone_Data::DUMMY, ERR_NONE, GSM_Phone_DUMMYData::log_file, _GSM_StateMachine::Phone, and GSM_Phone_Data::Priv.
GSM_Error DUMMY_DispatchMessage | ( | GSM_StateMachine * | s | ) |
We should not dispatch any messages.
Definition at line 401 of file dummy.c.
References ERR_UNKNOWN.
GSM_Error DUMMY_EnterSecurityCode | ( | GSM_StateMachine * | s, |
GSM_SecurityCode * | Code | ||
) |
Definition at line 831 of file dummy.c.
References GSM_SecurityCode::Code, GSM_Phone::Data, GSM_Phone_Data::DUMMY, ERR_NONE, GSM_Phone_DUMMYData::log_file, _GSM_StateMachine::Phone, GSM_Phone_Data::Priv, and GSM_SecurityCode::Type.
GSM_Error DUMMY_Error | ( | GSM_StateMachine * | s, |
const char * | message, | ||
const char * | path | ||
) |
Definition at line 60 of file dummy.c.
References ERR_EMPTY, ERR_FILEALREADYEXIST, ERR_PERMISSION, ERR_UNKNOWN, GSM_OSErrorInfo(), and smprintf().
Referenced by DUMMY_AddFilePart(), DUMMY_AddFolder(), DUMMY_DeleteAlarm(), DUMMY_DeleteCalendar(), DUMMY_DeleteFile(), DUMMY_DeleteFolder(), DUMMY_DeleteMemory(), DUMMY_DeleteNote(), DUMMY_DeleteSMS(), DUMMY_DeleteToDo(), DUMMY_GetFolderListing(), and DUMMY_GetNextFileFolder().
GSM_Error DUMMY_GetAlarm | ( | GSM_StateMachine * | s, |
GSM_Alarm * | entry | ||
) |
Definition at line 940 of file dummy.c.
References CAL_REPEAT_FREQUENCY, CAL_TEXT, CAL_TONE_ALARM_DATETIME, CopyUnicodeString(), GSM_Alarm::DateTime, DUMMY_AlarmPath(), ERR_CANTOPENFILE, ERR_EMPTY, ERR_NONE, FALSE, GSM_GetCurrentDateTime(), GSM_Alarm::Repeating, GSM_Alarm::Text, and TRUE.
GSM_Error DUMMY_GetBatteryCharge | ( | GSM_StateMachine * | s, |
GSM_BatteryCharge * | bat | ||
) |
Definition at line 1909 of file dummy.c.
References GSM_BatteryCharge::BatteryCapacity, GSM_BatteryCharge::BatteryPercent, GSM_BatteryCharge::BatteryTemperature, GSM_BatteryCharge::BatteryType, GSM_BatteryCharge::BatteryVoltage, GSM_BatteryCharge::ChargeCurrent, GSM_BatteryCharge::ChargeState, GSM_BatteryCharge::ChargeVoltage, ERR_NONE, GSM_BatteryConnected, GSM_BatteryLiPol, GSM_BatteryCharge::PhoneCurrent, and GSM_BatteryCharge::PhoneTemperature.
GSM_Error DUMMY_GetBitmap | ( | GSM_StateMachine * | s, |
GSM_Bitmap * | Bitmap | ||
) |
Definition at line 1085 of file dummy.c.
References ERR_NOTIMPLEMENTED.
GSM_Error DUMMY_GetCalendar | ( | GSM_StateMachine * | s, |
GSM_CalendarEntry * | entry | ||
) |
Definition at line 1672 of file dummy.c.
References DUMMY_CalendarPath(), ERR_CANTOPENFILE, ERR_EMPTY, ERR_NONE, and GSM_CalendarEntry::Location.
Referenced by DUMMY_GetNextCalendar().
GSM_Error DUMMY_GetCalendarSettings | ( | GSM_StateMachine * | s, |
GSM_CalendarSettings * | settings | ||
) |
Definition at line 1769 of file dummy.c.
References GSM_CalendarSettings::AutoDelete, ERR_NONE, and GSM_CalendarSettings::StartDay.
GSM_Error DUMMY_GetCalendarStatus | ( | GSM_StateMachine * | s, |
GSM_CalendarStatus * | Status | ||
) |
Definition at line 1665 of file dummy.c.
References DUMMY_GetCount(), DUMMY_MAX_TODO, ERR_NONE, GSM_CalendarStatus::Free, and GSM_CalendarStatus::Used.
GSM_Error DUMMY_GetCallDivert | ( | GSM_StateMachine * | s, |
GSM_CallDivert * | request, | ||
GSM_MultiCallDivert * | response | ||
) |
Definition at line 868 of file dummy.c.
References GSM_CallDivert::CallType, GSM_Phone::Data, GSM_Phone_DUMMYData::diverts, GSM_CallDivert::DivertType, GSM_Phone_Data::DUMMY, GSM_MultiCallDivert::Entries, GSM_MultiCallDivert::EntriesNum, ERR_NONE, _GSM_StateMachine::Phone, and GSM_Phone_Data::Priv.
int DUMMY_GetCount | ( | GSM_StateMachine * | s, |
const char * | dirname | ||
) |
Definition at line 122 of file dummy.c.
References _GSM_StateMachine::CurrentConfig, GSM_Phone::Data, GSM_Config::Device, GSM_Phone_DUMMYData::devlen, GSM_Phone_Data::DUMMY, DUMMY_MAX_LOCATION, _GSM_StateMachine::Phone, and GSM_Phone_Data::Priv.
Referenced by DUMMY_GetCalendarStatus(), DUMMY_GetMemoryStatus(), DUMMY_GetNoteStatus(), DUMMY_GetSMSStatus(), and DUMMY_GetToDoStatus().
GSM_Error DUMMY_GetDateTime | ( | GSM_StateMachine * | s, |
GSM_DateTime * | date_time | ||
) |
Definition at line 456 of file dummy.c.
References ERR_NONE, and GSM_GetCurrentDateTime().
GSM_Error DUMMY_GetDisplayStatus | ( | GSM_StateMachine * | s, |
GSM_DisplayFeatures * | features | ||
) |
Definition at line 725 of file dummy.c.
References ERR_NONE, GSM_DisplayFeatures::Feature, GSM_KeypadLocked, and GSM_DisplayFeatures::Number.
GSM_Error DUMMY_GetFilePart | ( | GSM_StateMachine * | s, |
GSM_File * | File, | ||
int * | Handle, | ||
size_t * | Size | ||
) |
Definition at line 1154 of file dummy.c.
References DUMMY_GetFSFilePath(), EncodeUnicode(), ERR_EMPTY, ERR_NONE, GSM_ReadFile(), GSM_File::ID_FullName, GSM_File::Level, GSM_File::Name, and GSM_File::Used.
char* DUMMY_GetFilePath | ( | GSM_StateMachine * | s, |
const char * | filename | ||
) |
Definition at line 77 of file dummy.c.
References _GSM_StateMachine::CurrentConfig, GSM_Phone::Data, GSM_Config::Device, GSM_Phone_DUMMYData::devlen, GSM_Phone_Data::DUMMY, _GSM_StateMachine::Phone, and GSM_Phone_Data::Priv.
Referenced by DUMMY_AlarmPath(), DUMMY_CalendarPath(), DUMMY_GetNextFileFolder(), DUMMY_GetSMSPath(), DUMMY_Initialise(), DUMMY_MemoryPath(), DUMMY_NotePath(), DUMMY_PreAPICall(), and DUMMY_ToDoPath().
GSM_Error DUMMY_GetFileSystemStatus | ( | GSM_StateMachine * | s, |
GSM_FileSystemStatus * | Status | ||
) |
Definition at line 1899 of file dummy.c.
References ERR_NONE, GSM_FileSystemStatus::Free, GSM_FileSystemStatus::Used, GSM_FileSystemStatus::UsedImages, GSM_FileSystemStatus::UsedSounds, and GSM_FileSystemStatus::UsedThemes.
GSM_Error DUMMY_GetFirmware | ( | GSM_StateMachine * | s | ) |
Definition at line 442 of file dummy.c.
References GSM_Phone::Data, ERR_NONE, GAMMU_VERSION, GSM_CreateFirmwareNumber(), _GSM_StateMachine::Phone, GSM_Phone_Data::VerDate, and GSM_Phone_Data::Version.
int DUMMY_GetFirstFree | ( | GSM_StateMachine * | s, |
const char * | dirname | ||
) |
Definition at line 162 of file dummy.c.
References _GSM_StateMachine::CurrentConfig, GSM_Phone::Data, GSM_Config::Device, GSM_Phone_DUMMYData::devlen, GSM_Phone_Data::DUMMY, DUMMY_MAX_LOCATION, _GSM_StateMachine::Phone, and GSM_Phone_Data::Priv.
Referenced by DUMMY_AddCalendar(), DUMMY_AddMemory(), DUMMY_AddNote(), DUMMY_AddSMS(), and DUMMY_AddToDo().
GSM_Error DUMMY_GetFolderListing | ( | GSM_StateMachine * | s, |
GSM_File * | File, | ||
gboolean | start | ||
) |
Definition at line 1180 of file dummy.c.
References GSM_File::Buffer, GSM_Phone::Data, GSM_Phone_DUMMYData::devlen, GSM_Phone_DUMMYData::dir, GSM_Phone_DUMMYData::dirnames, GSM_Phone_Data::DUMMY, DUMMY_Error(), DUMMY_GetFSFilePath(), DUMMY_GetFSPath(), DUMMY_MAX_FS_DEPTH, EncodeUnicode(), ERR_EMPTY, ERR_MOREMEMORY, ERR_NONE, FALSE, Fill_GSM_DateTime(), GSM_File::Folder, GSM_Phone_DUMMYData::fs_depth, GSM_File_Other, GSM_File::Hidden, GSM_File::ID_FullName, GSM_File::Level, GSM_File::Modified, GSM_File::ModifiedEmpty, GSM_File::Name, _GSM_StateMachine::Phone, GSM_Phone_Data::Priv, GSM_File::Protected, GSM_File::ReadOnly, smprintf(), GSM_File::System, TRUE, GSM_File::Type, and GSM_File::Used.
char* DUMMY_GetFSFilePath | ( | GSM_StateMachine * | s, |
const unsigned char * | fullname | ||
) |
Definition at line 91 of file dummy.c.
References _GSM_StateMachine::CurrentConfig, GSM_Phone::Data, DecodeUnicodeString(), GSM_Config::Device, GSM_Phone_DUMMYData::devlen, GSM_Phone_Data::DUMMY, _GSM_StateMachine::Phone, and GSM_Phone_Data::Priv.
Referenced by DUMMY_AddFilePart(), DUMMY_AddFolder(), DUMMY_DeleteFile(), DUMMY_DeleteFolder(), DUMMY_GetFilePart(), and DUMMY_GetFolderListing().
char* DUMMY_GetFSPath | ( | GSM_StateMachine * | s, |
const char * | filename, | ||
int | depth | ||
) |
Definition at line 108 of file dummy.c.
References GSM_Phone::Data, GSM_Phone_DUMMYData::dirnames, GSM_Phone_Data::DUMMY, _GSM_StateMachine::Phone, and GSM_Phone_Data::Priv.
Referenced by DUMMY_GetFolderListing(), and DUMMY_GetNextFileFolder().
GSM_Error DUMMY_GetHardware | ( | GSM_StateMachine * | s, |
char * | value | ||
) |
GSM_Error DUMMY_GetIMEI | ( | GSM_StateMachine * | s | ) |
Definition at line 412 of file dummy.c.
References GSM_Phone::Data, ERR_NONE, GSM_Phone_Data::IMEI, and _GSM_StateMachine::Phone.
GSM_Error DUMMY_GetLocale | ( | GSM_StateMachine * | s, |
GSM_Locale * | locale | ||
) |
Definition at line 1885 of file dummy.c.
References GSM_Phone::Data, GSM_Phone_Data::DUMMY, ERR_NONE, GSM_Phone_DUMMYData::locale, _GSM_StateMachine::Phone, and GSM_Phone_Data::Priv.
GSM_Error DUMMY_GetManufactureMonth | ( | GSM_StateMachine * | s, |
char * | value | ||
) |
GSM_Error DUMMY_GetManufacturer | ( | GSM_StateMachine * | s | ) |
Definition at line 934 of file dummy.c.
References GSM_Phone::Data, ERR_NONE, GSM_Phone_Data::Manufacturer, and _GSM_StateMachine::Phone.
GSM_Error DUMMY_GetMemory | ( | GSM_StateMachine * | s, |
GSM_MemoryEntry * | entry | ||
) |
Definition at line 1434 of file dummy.c.
References GSM_BinaryPicture::Buffer, DUMMY_MemoryPath(), GSM_MemoryEntry::Entries, GSM_MemoryEntry::EntriesNum, GSM_SubMemoryEntry::EntryType, ERR_CANTOPENFILE, ERR_EMPTY, ERR_NONE, GSM_BinaryPicture::Length, GSM_MemoryEntry::Location, GSM_MemoryEntry::MemoryType, PBK_Photo, and GSM_SubMemoryEntry::Picture.
Referenced by DUMMY_GetNextMemory().
GSM_Error DUMMY_GetMemoryStatus | ( | GSM_StateMachine * | s, |
GSM_MemoryStatus * | Status | ||
) |
Definition at line 1425 of file dummy.c.
References DUMMY_GetCount(), DUMMY_MAX_MEM, ERR_NONE, GSM_MemoryTypeToString, GSM_MemoryStatus::MemoryFree, GSM_MemoryStatus::MemoryType, and GSM_MemoryStatus::MemoryUsed.
GSM_Error DUMMY_GetModel | ( | GSM_StateMachine * | s | ) |
Definition at line 450 of file dummy.c.
References GSM_Phone::Data, ERR_NONE, GSM_Phone_Data::Model, and _GSM_StateMachine::Phone.
GSM_Error DUMMY_GetNetworkInfo | ( | GSM_StateMachine * | s, |
GSM_NetworkInfo * | netinfo | ||
) |
Definition at line 710 of file dummy.c.
References GSM_NetworkInfo::CID, EncodeUnicode(), ERR_NONE, GSM_NetworkInfo::GPRS, GSM_GPRS_Attached, GSM_HomeNetwork, GSM_NetworkInfo::LAC, GSM_NetworkInfo::NetworkCode, GSM_NetworkInfo::NetworkName, GSM_NetworkInfo::PacketCID, GSM_NetworkInfo::PacketLAC, GSM_NetworkInfo::PacketState, and GSM_NetworkInfo::State.
int DUMMY_GetNext | ( | GSM_StateMachine * | s, |
const char * | dirname, | ||
int | current | ||
) |
Definition at line 187 of file dummy.c.
References _GSM_StateMachine::CurrentConfig, GSM_Phone::Data, GSM_Config::Device, GSM_Phone_DUMMYData::devlen, GSM_Phone_Data::DUMMY, DUMMY_MAX_LOCATION, _GSM_StateMachine::Phone, and GSM_Phone_Data::Priv.
Referenced by DUMMY_GetNextCalendar(), DUMMY_GetNextMemory(), DUMMY_GetNextNote(), DUMMY_GetNextSMS(), and DUMMY_GetNextToDo().
GSM_Error DUMMY_GetNextCalendar | ( | GSM_StateMachine * | s, |
GSM_CalendarEntry * | entry, | ||
gboolean | start | ||
) |
Definition at line 1700 of file dummy.c.
References GSM_Phone::Data, DUMMY_GetCalendar(), DUMMY_GetNext(), ERR_NOTSUPPORTED, F_DISABLE_GETNEXT, GSM_IsPhoneFeatureAvailable(), GSM_CalendarEntry::Location, GSM_Phone_Data::ModelInfo, and _GSM_StateMachine::Phone.
GSM_Error DUMMY_GetNextFileFolder | ( | GSM_StateMachine * | s, |
GSM_File * | File, | ||
gboolean | start | ||
) |
Definition at line 1268 of file dummy.c.
References GSM_File::Buffer, GSM_Phone::Data, GSM_Phone_DUMMYData::devlen, GSM_Phone_DUMMYData::dir, GSM_Phone_DUMMYData::dirnames, GSM_Phone_Data::DUMMY, DUMMY_Error(), DUMMY_GetFilePath(), DUMMY_GetFSPath(), DUMMY_MAX_FS_DEPTH, EncodeUnicode(), ERR_EMPTY, ERR_MOREMEMORY, ERR_NONE, FALSE, Fill_GSM_DateTime(), GSM_File::Folder, GSM_Phone_DUMMYData::fs_depth, GSM_File_Other, GSM_File::Hidden, GSM_File::ID_FullName, GSM_File::Level, GSM_File::Modified, GSM_File::ModifiedEmpty, GSM_File::Name, _GSM_StateMachine::Phone, GSM_Phone_Data::Priv, GSM_File::Protected, GSM_File::ReadOnly, smprintf(), GSM_File::System, TRUE, GSM_File::Type, and GSM_File::Used.
GSM_Error DUMMY_GetNextMemory | ( | GSM_StateMachine * | s, |
GSM_MemoryEntry * | entry, | ||
gboolean | start | ||
) |
Definition at line 1481 of file dummy.c.
References GSM_Phone::Data, DUMMY_GetMemory(), DUMMY_GetNext(), ERR_NOTSUPPORTED, F_DISABLE_GETNEXT, GSM_IsPhoneFeatureAvailable(), GSM_MemoryTypeToString, GSM_MemoryEntry::Location, GSM_MemoryEntry::MemoryType, GSM_Phone_Data::ModelInfo, and _GSM_StateMachine::Phone.
GSM_Error DUMMY_GetNextNote | ( | GSM_StateMachine * | s, |
GSM_NoteEntry * | entry, | ||
gboolean | start | ||
) |
Definition at line 1816 of file dummy.c.
References GSM_Phone::Data, DUMMY_GetNext(), DUMMY_GetNote(), ERR_NOTSUPPORTED, F_DISABLE_GETNEXT, GSM_IsPhoneFeatureAvailable(), GSM_NoteEntry::Location, GSM_Phone_Data::ModelInfo, and _GSM_StateMachine::Phone.
GSM_Error DUMMY_GetNextSMS | ( | GSM_StateMachine * | s, |
GSM_MultiSMSMessage * | sms, | ||
gboolean | start | ||
) |
Definition at line 617 of file dummy.c.
References GSM_Phone::Data, DUMMY_GetNext(), DUMMY_GetSMS(), DUMMY_GetSMSPath(), ERR_EMPTY, ERR_NOTSUPPORTED, F_DISABLE_GETNEXTSMS, GSM_SMSMessage::Folder, GSM_IsPhoneFeatureAvailable(), GSM_SMSMessage::Location, GSM_Phone_Data::ModelInfo, _GSM_StateMachine::Phone, and GSM_MultiSMSMessage::SMS.
GSM_Error DUMMY_GetNextToDo | ( | GSM_StateMachine * | s, |
GSM_ToDoEntry * | entry, | ||
gboolean | start | ||
) |
Definition at line 1596 of file dummy.c.
References GSM_Phone::Data, DUMMY_GetNext(), DUMMY_GetToDo(), ERR_NOTSUPPORTED, F_DISABLE_GETNEXT, GSM_IsPhoneFeatureAvailable(), GSM_ToDoEntry::Location, GSM_Phone_Data::ModelInfo, and _GSM_StateMachine::Phone.
GSM_Error DUMMY_GetNote | ( | GSM_StateMachine * | s, |
GSM_NoteEntry * | entry | ||
) |
Definition at line 1788 of file dummy.c.
References DUMMY_NotePath(), ERR_CANTOPENFILE, ERR_EMPTY, ERR_NONE, and GSM_NoteEntry::Location.
Referenced by DUMMY_GetNextNote().
GSM_Error DUMMY_GetNoteStatus | ( | GSM_StateMachine * | s, |
GSM_ToDoStatus * | Status | ||
) |
Definition at line 1781 of file dummy.c.
References DUMMY_GetCount(), DUMMY_MAX_TODO, ERR_NONE, GSM_ToDoStatus::Free, and GSM_ToDoStatus::Used.
GSM_Error DUMMY_GetOriginalIMEI | ( | GSM_StateMachine * | s, |
char * | value | ||
) |
GSM_Error DUMMY_GetPPM | ( | GSM_StateMachine * | s, |
char * | value | ||
) |
GSM_Error DUMMY_GetProductCode | ( | GSM_StateMachine * | s, |
char * | value | ||
) |
GSM_Error DUMMY_GetRingtone | ( | GSM_StateMachine * | s, |
GSM_Ringtone * | Ringtone, | ||
gboolean | PhoneRingtone | ||
) |
Definition at line 1058 of file dummy.c.
References ERR_NOTIMPLEMENTED.
GSM_Error DUMMY_GetSecurityStatus | ( | GSM_StateMachine * | s, |
GSM_SecurityCodeType * | Status | ||
) |
Definition at line 840 of file dummy.c.
References ERR_NONE, and SEC_None.
GSM_Error DUMMY_GetSignalStrength | ( | GSM_StateMachine * | s, |
GSM_SignalQuality * | sig | ||
) |
Definition at line 587 of file dummy.c.
References GSM_SignalQuality::BitErrorRate, ERR_NONE, GSM_SignalQuality::SignalPercent, and GSM_SignalQuality::SignalStrength.
GSM_Error DUMMY_GetSIMIMSI | ( | GSM_StateMachine * | s, |
char * | IMSI | ||
) |
GSM_Error DUMMY_GetSMS | ( | GSM_StateMachine * | s, |
GSM_MultiSMSMessage * | sms | ||
) |
Definition at line 462 of file dummy.c.
References DUMMY_GetSMSPath(), DUMMY_MAX_SMS, ERR_CANTOPENFILE, ERR_EMPTY, ERR_MOREMEMORY, ERR_NONE, FALSE, GSM_SMSMessage::Folder, GSM_SMSMessage::InboxFolder, GSM_SMSMessage::Location, MEM_ME, MEM_SM, GSM_SMSMessage::Memory, GSM_MultiSMSMessage::Number, GSM_MultiSMSMessage::SMS, and TRUE.
Referenced by DUMMY_GetNextSMS().
GSM_Error DUMMY_GetSMSC | ( | GSM_StateMachine * | s, |
GSM_SMSC * | smsc | ||
) |
Definition at line 820 of file dummy.c.
References GSM_Phone::Data, GSM_Phone_Data::DUMMY, ERR_EMPTY, ERR_NONE, GSM_SMSC::Location, _GSM_StateMachine::Phone, GSM_Phone_Data::Priv, and GSM_Phone_DUMMYData::SMSC.
GSM_Error DUMMY_GetSMSFolders | ( | GSM_StateMachine * | s, |
GSM_SMSFolders * | folders | ||
) |
Definition at line 595 of file dummy.c.
References _, CopyUnicodeString(), EncodeUnicode(), ERR_NONE, FALSE, GSM_SMSFolders::Folder, GSM_OneSMSFolder::InboxFolder, MEM_ME, GSM_OneSMSFolder::Memory, GSM_OneSMSFolder::Name, GSM_SMSFolders::Number, GSM_OneSMSFolder::OutboxFolder, and PHONE_GetSMSFolders().
char* DUMMY_GetSMSPath | ( | GSM_StateMachine * | s, |
GSM_SMSMessage * | sms | ||
) |
Definition at line 211 of file dummy.c.
References DUMMY_GetFilePath(), DUMMY_MAX_SMS, GSM_SMSMessage::Folder, and GSM_SMSMessage::Location.
Referenced by DUMMY_DeleteSMS(), DUMMY_GetNextSMS(), DUMMY_GetSMS(), and DUMMY_SetSMS().
GSM_Error DUMMY_GetSMSStatus | ( | GSM_StateMachine * | s, |
GSM_SMSMemoryStatus * | status | ||
) |
Definition at line 647 of file dummy.c.
References DUMMY_GetCount(), DUMMY_MAX_SMS, ERR_NONE, GSM_SMSMemoryStatus::PhoneSize, GSM_SMSMemoryStatus::PhoneUnRead, GSM_SMSMemoryStatus::PhoneUsed, GSM_SMSMemoryStatus::SIMSize, GSM_SMSMemoryStatus::SIMUnRead, GSM_SMSMemoryStatus::SIMUsed, and GSM_SMSMemoryStatus::TemplatesUsed.
GSM_Error DUMMY_GetToDo | ( | GSM_StateMachine * | s, |
GSM_ToDoEntry * | entry | ||
) |
Definition at line 1568 of file dummy.c.
References DUMMY_ToDoPath(), ERR_CANTOPENFILE, ERR_EMPTY, ERR_NONE, and GSM_ToDoEntry::Location.
Referenced by DUMMY_GetNextToDo().
GSM_Error DUMMY_GetToDoStatus | ( | GSM_StateMachine * | s, |
GSM_ToDoStatus * | Status | ||
) |
Definition at line 1561 of file dummy.c.
References DUMMY_GetCount(), DUMMY_MAX_TODO, ERR_NONE, GSM_ToDoStatus::Free, and GSM_ToDoStatus::Used.
GSM_Error DUMMY_GetWAPBookmark | ( | GSM_StateMachine * | s, |
GSM_WAPBookmark * | bookmark | ||
) |
Definition at line 1068 of file dummy.c.
References GSM_WAPBookmark::Address, EncodeUnicode(), ERR_EMPTY, ERR_NONE, GSM_WAPBookmark::Location, and GSM_WAPBookmark::Title.
GSM_Error DUMMY_Initialise | ( | GSM_StateMachine * | s | ) |
Initialises dummy module.
Definition at line 266 of file dummy.c.
References GSM_Locale::AMPMTime, GSM_CallDivert::CallType, _GSM_StateMachine::CurrentConfig, GSM_Phone::Data, GSM_Locale::DateFormat, GSM_Locale::DateSeparator, GSM_SMSC::DefaultNumber, GSM_Config::Device, GSM_Phone_DUMMYData::devlen, GSM_Phone_DUMMYData::dir, GSM_Phone_DUMMYData::diverts, GSM_CallDivert::DivertType, GSM_Phone_Data::DUMMY, DUMMY_GetFilePath(), DUMMY_MAX_FS_DEPTH, EncodeUnicode(), GSM_MultiCallDivert::Entries, GSM_MultiCallDivert::EntriesNum, ERR_DEVICENOPERMISSION, ERR_DEVICENOTEXIST, ERR_DEVICEOPENERROR, ERR_NONE, FALSE, GSM_SMSValidity::Format, GSM_SMSC::Format, GSM_Phone_DUMMYData::fs_depth, GAMMU_VERSION, GAMMU_VERSION_NUM, GSM_Date_DDMMYYYY, GSM_DIVERT_AllCalls, GSM_DIVERT_AllTypes, GSM_DIVERT_Busy, GSM_DIVERT_DataCalls, GSM_DIVERT_FaxCalls, GSM_DIVERT_NoAnswer, GSM_DIVERT_OutOfReach, GSM_DIVERT_VoiceCalls, GSM_OSErrorInfo(), GSM_Phone_Data::IMEI, GSM_Phone_DUMMYData::locale, GSM_SMSC::Location, GSM_Phone_DUMMYData::log_file, GSM_Phone_Data::Manufacturer, MKDIR, GSM_Phone_Data::Model, GSM_SMSC::Name, GSM_CallDivert::Number, GSM_SMSC::Number, _GSM_StateMachine::Phone, GSM_Phone_Data::Priv, GSM_SMSValidity::Relative, smprintf(), SMS_FORMAT_Text, SMS_VALID_Max_Time, SMS_Validity_NotAvailable, GSM_Phone_DUMMYData::SMSC, GSM_CallDivert::Timeout, GSM_SMSC::Validity, GSM_Phone_Data::VerDate, GSM_Phone_Data::VerNum, and GSM_Phone_Data::Version.
char* DUMMY_MemoryPath | ( | GSM_StateMachine * | s, |
GSM_MemoryEntry * | entry | ||
) |
Definition at line 228 of file dummy.c.
References DUMMY_GetFilePath(), GSM_MemoryTypeToString, GSM_MemoryEntry::Location, and GSM_MemoryEntry::MemoryType.
Referenced by DUMMY_DeleteMemory(), DUMMY_GetMemory(), and DUMMY_SetMemory().
char* DUMMY_NotePath | ( | GSM_StateMachine * | s, |
GSM_NoteEntry * | entry | ||
) |
Definition at line 242 of file dummy.c.
References DUMMY_GetFilePath(), and GSM_NoteEntry::Location.
Referenced by DUMMY_DeleteNote(), DUMMY_GetNote(), and DUMMY_SetNote().
GSM_Error DUMMY_PreAPICall | ( | GSM_StateMachine * | s | ) |
Definition at line 1924 of file dummy.c.
References GSM_Call::CallIDAvailable, GSM_Phone::Data, DUMMY_GetFilePath(), GSM_Phone_Data::EnableIncomingCall, EncodeUnicode(), ERR_MOREMEMORY, ERR_NONE, FALSE, GSM_CALL_IncomingCall, _GSM_User::IncomingCall, _GSM_User::IncomingCallUserData, _GSM_StateMachine::Phone, GSM_Call::PhoneNumber, smprintf(), GSM_Call::Status, GSM_Call::StatusCode, TRUE, and _GSM_StateMachine::User.
GSM_Error DUMMY_PressKey | ( | GSM_StateMachine * | s, |
GSM_KeyCode | Key, | ||
gboolean | Press | ||
) |
Definition at line 737 of file dummy.c.
References GSM_Phone::Data, GSM_Phone_Data::DUMMY, ERR_NONE, GSM_Phone_DUMMYData::log_file, _GSM_StateMachine::Phone, and GSM_Phone_Data::Priv.
GSM_Error DUMMY_Reset | ( | GSM_StateMachine * | s, |
gboolean | hard | ||
) |
Definition at line 750 of file dummy.c.
References GSM_Phone::Data, GSM_Phone_Data::DUMMY, ERR_NONE, GSM_Phone_DUMMYData::log_file, _GSM_StateMachine::Phone, and GSM_Phone_Data::Priv.
GSM_Error DUMMY_ResetPhoneSettings | ( | GSM_StateMachine * | s, |
GSM_ResetSettingsType | Type | ||
) |
Definition at line 846 of file dummy.c.
References ERR_NONE, ERR_NOTIMPLEMENTED, and GSM_RESET_PHONESETTINGS.
GSM_Error DUMMY_SendDTMF | ( | GSM_StateMachine * | s, |
char * | sequence | ||
) |
Definition at line 854 of file dummy.c.
References GSM_Phone::Data, GSM_Phone_Data::DUMMY, ERR_NONE, GSM_Phone_DUMMYData::log_file, _GSM_StateMachine::Phone, and GSM_Phone_Data::Priv.
GSM_Error DUMMY_SendFilePart | ( | GSM_StateMachine * | s, |
GSM_File * | File, | ||
size_t * | Pos, | ||
int * | Handle | ||
) |
Definition at line 1148 of file dummy.c.
References DUMMY_AddFilePart(), EncodeUnicode(), and GSM_File::ID_FullName.
GSM_Error DUMMY_SendSavedSMS | ( | GSM_StateMachine * | s, |
int | Folder, | ||
int | Location | ||
) |
Definition at line 772 of file dummy.c.
References ERR_NOTIMPLEMENTED.
GSM_Error DUMMY_SendSMS | ( | GSM_StateMachine * | s, |
GSM_SMSMessage * | sms | ||
) |
Definition at line 777 of file dummy.c.
References ERR_NONE, GSM_SMSMessage::PDU, PHONE_EncodeSMSFrame(), PHONE_SMSDeliver, PHONE_SMSSubmit, _GSM_User::SendSMSStatus, _GSM_User::SendSMSStatusUserData, smprintf(), SMS_Deliver, TRUE, and _GSM_StateMachine::User.
GSM_Error DUMMY_SetAlarm | ( | GSM_StateMachine * | s, |
GSM_Alarm * | entry | ||
) |
Definition at line 1007 of file dummy.c.
References CAL_REPEAT_FREQUENCY, CAL_START_DATETIME, CAL_TEXT, CAL_TONE_ALARM_DATETIME, CopyUnicodeString(), GSM_SubCalendarEntry::Date, GSM_Alarm::DateTime, GSM_DateTime::Day, DUMMY_AlarmPath(), DUMMY_DeleteAlarm(), GSM_CalendarEntry::Entries, GSM_CalendarEntry::EntriesNum, GSM_SubCalendarEntry::EntryType, ERR_EMPTY, ERR_NONE, GSM_CAL_ALARM, GSM_CalendarEntry::Location, GSM_Alarm::Location, GSM_DateTime::Month, GSM_SubCalendarEntry::Number, GSM_Alarm::Repeating, GSM_SubCalendarEntry::Text, GSM_Alarm::Text, GSM_DateTime::Timezone, GSM_CalendarEntry::Type, and GSM_DateTime::Year.
GSM_Error DUMMY_SetAutoNetworkLogin | ( | GSM_StateMachine * | s | ) |
Definition at line 732 of file dummy.c.
References ERR_NOTIMPLEMENTED.
GSM_Error DUMMY_SetBitmap | ( | GSM_StateMachine * | s, |
GSM_Bitmap * | Bitmap | ||
) |
Definition at line 1090 of file dummy.c.
References ERR_NOTIMPLEMENTED.
GSM_Error DUMMY_SetCalendar | ( | GSM_StateMachine * | s, |
GSM_CalendarEntry * | entry | ||
) |
Definition at line 1733 of file dummy.c.
References DUMMY_CalendarPath(), DUMMY_DeleteCalendar(), ERR_EMPTY, and ERR_NONE.
Referenced by DUMMY_AddCalendar().
GSM_Error DUMMY_SetCalendarSettings | ( | GSM_StateMachine * | s, |
GSM_CalendarSettings * | settings | ||
) |
GSM_Error DUMMY_SetCallDivert | ( | GSM_StateMachine * | s, |
GSM_CallDivert * | request | ||
) |
Definition at line 885 of file dummy.c.
References GSM_CallDivert::CallType, GSM_Phone::Data, GSM_Phone_DUMMYData::diverts, GSM_CallDivert::DivertType, GSM_Phone_Data::DUMMY, GSM_MultiCallDivert::Entries, GSM_MultiCallDivert::EntriesNum, ERR_NONE, _GSM_StateMachine::Phone, and GSM_Phone_Data::Priv.
GSM_Error DUMMY_SetDateTime | ( | GSM_StateMachine * | s, |
GSM_DateTime * | date_time | ||
) |
GSM_Error DUMMY_SetFastSMSSending | ( | GSM_StateMachine * | s, |
gboolean | enable | ||
) |
GSM_Error DUMMY_SetFileAttributes | ( | GSM_StateMachine * | s, |
GSM_File * | File | ||
) |
GSM_Error DUMMY_SetIncomingCall | ( | GSM_StateMachine * | s, |
gboolean | enable | ||
) |
Definition at line 911 of file dummy.c.
References GSM_Phone::Data, GSM_Phone_Data::EnableIncomingCall, ERR_NONE, and _GSM_StateMachine::Phone.
GSM_Error DUMMY_SetIncomingCB | ( | GSM_StateMachine * | s, |
gboolean | enable | ||
) |
Definition at line 917 of file dummy.c.
References GSM_Phone::Data, GSM_Phone_Data::EnableIncomingCB, ERR_NONE, and _GSM_StateMachine::Phone.
GSM_Error DUMMY_SetIncomingSMS | ( | GSM_StateMachine * | s, |
gboolean | enable | ||
) |
Definition at line 923 of file dummy.c.
References GSM_Phone::Data, GSM_Phone_Data::EnableIncomingSMS, ERR_NONE, and _GSM_StateMachine::Phone.
GSM_Error DUMMY_SetIncomingUSSD | ( | GSM_StateMachine * | s, |
gboolean | enable | ||
) |
Definition at line 1052 of file dummy.c.
References GSM_Phone::Data, GSM_Phone_Data::EnableIncomingUSSD, ERR_NONE, and _GSM_StateMachine::Phone.
GSM_Error DUMMY_SetLocale | ( | GSM_StateMachine * | s, |
GSM_Locale * | locale | ||
) |
Definition at line 1892 of file dummy.c.
References GSM_Phone::Data, GSM_Phone_Data::DUMMY, ERR_NONE, GSM_Phone_DUMMYData::locale, _GSM_StateMachine::Phone, and GSM_Phone_Data::Priv.
GSM_Error DUMMY_SetMemory | ( | GSM_StateMachine * | s, |
GSM_MemoryEntry * | entry | ||
) |
Definition at line 1518 of file dummy.c.
References DUMMY_DeleteMemory(), DUMMY_MemoryPath(), ERR_EMPTY, and ERR_NONE.
Referenced by DUMMY_AddMemory().
GSM_Error DUMMY_SetNote | ( | GSM_StateMachine * | s, |
GSM_NoteEntry * | entry | ||
) |
Definition at line 1848 of file dummy.c.
References DUMMY_DeleteNote(), DUMMY_NotePath(), ERR_EMPTY, and ERR_NONE.
Referenced by DUMMY_AddNote().
GSM_Error DUMMY_SetRingtone | ( | GSM_StateMachine * | s, |
GSM_Ringtone * | Ringtone, | ||
int * | maxlength | ||
) |
Definition at line 1063 of file dummy.c.
References ERR_NOTIMPLEMENTED.
GSM_Error DUMMY_SetSMS | ( | GSM_StateMachine * | s, |
GSM_SMSMessage * | sms | ||
) |
Definition at line 544 of file dummy.c.
References DUMMY_DeleteSMS(), DUMMY_GetSMSPath(), ERR_EMPTY, ERR_MOREMEMORY, and ERR_NONE.
Referenced by DUMMY_AddSMS().
GSM_Error DUMMY_SetSMSC | ( | GSM_StateMachine * | s, |
GSM_SMSC * | smsc | ||
) |
Definition at line 809 of file dummy.c.
References GSM_Phone::Data, GSM_Phone_Data::DUMMY, ERR_NONE, ERR_NOTSUPPORTED, GSM_SMSC::Location, _GSM_StateMachine::Phone, GSM_Phone_Data::Priv, and GSM_Phone_DUMMYData::SMSC.
GSM_Error DUMMY_SetToDo | ( | GSM_StateMachine * | s, |
GSM_ToDoEntry * | entry | ||
) |
Definition at line 1629 of file dummy.c.
References DUMMY_DeleteToDo(), DUMMY_ToDoPath(), ERR_EMPTY, and ERR_NONE.
Referenced by DUMMY_AddToDo().
GSM_Error DUMMY_Terminate | ( | GSM_StateMachine * | s | ) |
Terminates dummy module.
Definition at line 380 of file dummy.c.
References GSM_Phone::Data, GSM_Phone_DUMMYData::dir, GSM_Phone_Data::DUMMY, DUMMY_MAX_FS_DEPTH, ERR_NONE, GSM_Phone_DUMMYData::log_file, _GSM_StateMachine::Phone, and GSM_Phone_Data::Priv.
char* DUMMY_ToDoPath | ( | GSM_StateMachine * | s, |
GSM_ToDoEntry * | entry | ||
) |
Definition at line 235 of file dummy.c.
References DUMMY_GetFilePath(), and GSM_ToDoEntry::Location.
Referenced by DUMMY_DeleteToDo(), DUMMY_GetToDo(), and DUMMY_SetToDo().