7 #ifndef __gammu_memory_h 8 #define __gammu_memory_h 95 #define GSM_MemoryTypeToString(x) \ 96 ((x) == MEM_ME ? "ME" : \ 97 ((x) == MEM_SM ? "SM" : \ 98 ((x) == MEM_ON ? "ON" : \ 99 ((x) == MEM_DC ? "DC" : \ 100 ((x) == MEM_RC ? "RC" : \ 101 ((x) == MEM_MC ? "MC" : \ 102 ((x) == MEM_MT ? "MT" : \ 103 ((x) == MEM_FD ? "FD" : \ 104 ((x) == MEM_VM ? "VM" : \ 105 ((x) == MEM_QD ? "QD" : \ 106 ((x) == MEM_SL ? "SL" : "XX"))))))))))) 595 int *Name,
int *Number,
645 const size_t buff_len,
size_t * Pos,
647 const GSM_VCardVersion Version);
664 const GSM_VCardVersion Version);
GSM_Error GSM_SetMemory(GSM_StateMachine *s, GSM_MemoryEntry *entry)
GSM_Error GSM_EncodeVCARD(GSM_Debug_Info *di, char *Buffer, const size_t buff_len, size_t *Pos, GSM_MemoryEntry *pbk, const gboolean header, const GSM_VCardVersion Version)
void GSM_PhonebookFindDefaultNameNumberGroup(const GSM_MemoryEntry *entry, int *Name, int *Number, int *Group)
GSM_Error GSM_DeleteMemory(GSM_StateMachine *s, GSM_MemoryEntry *entry)
GSM_MemoryType MemoryType
#define GSM_PHONEBOOK_TEXT_LENGTH
#define GSM_PHONEBOOK_ENTRIES
GSM_Error GSM_GetNextMemory(GSM_StateMachine *s, GSM_MemoryEntry *entry, gboolean start)
void GSM_FreeMemoryEntry(GSM_MemoryEntry *Entry)
GSM_BinaryPicture Picture
GSM_Error GSM_GetSpeedDial(GSM_StateMachine *s, GSM_SpeedDial *Speed)
GSM_Error GSM_SetSpeedDial(GSM_StateMachine *s, GSM_SpeedDial *Speed)
GSM_Error GSM_GetMemoryStatus(GSM_StateMachine *s, GSM_MemoryStatus *status)
GSM_Error GSM_DecodeVCARD(GSM_Debug_Info *di, char *Buffer, size_t *Pos, GSM_MemoryEntry *Pbk, const GSM_VCardVersion Version)
unsigned char * GSM_PhonebookGetEntryName(const GSM_MemoryEntry *entry)
GSM_Error GSM_AddMemory(GSM_StateMachine *s, GSM_MemoryEntry *entry)
GSM_MemoryType MemoryType
GSM_MemoryType GSM_StringToMemoryType(const char *s)
GSM_MemoryType MemoryType
GSM_EntryLocation Location
GSM_Error GSM_DeleteAllMemory(GSM_StateMachine *s, GSM_MemoryType MemoryType)
GSM_Error GSM_GetMemory(GSM_StateMachine *s, GSM_MemoryEntry *entry)