Gammu internals  1.38.0
gsmmulti.h
Go to the documentation of this file.
1 /* (c) 2002-2006 by Marcin Wiacek */
2 
3 #ifndef __gsm_multi_h
4 #define __gsm_multi_h
5 
6 #if defined(_MSC_VER) && defined(__cplusplus)
7  extern "C" {
8 #endif
9 
10 #include <gammu-message.h>
11 
12 /* ---------------------- multi SMS --------------------------------------- */
13 
14 /* Identifiers for Smart Messaging 3.0 multipart SMS */
15 
16 #define SM30_ISOTEXT 0 /* ISO 8859-1 text */
17 #define SM30_UNICODETEXT 1
18 #define SM30_OTA 2
19 #define SM30_RINGTONE 3
20 #define SM30_PROFILENAME 4
21 /* ... */
22 #define SM30_SCREENSAVER 6
23 
24 /* Identifiers for Alcatel Terminal Data Download */
25 #define ALCATELTDD_PICTURE 4
26 #define ALCATELTDD_ANIMATION 5
27 #define ALCATELTDD_SMSTEMPLATE 6
28 
30  GSM_Coding_Type Coding,
31  char *Buffer,
32  size_t BufferLen,
33  gboolean UDH,
34  size_t *UsedText,
35  size_t *CopiedText,
36  size_t *CopiedSMSText);
37 
39  unsigned char *MessageBuffer,
40  size_t MessageLength,
41  GSM_UDH UDHType,
42  GSM_Coding_Type Coding,
43  int Class,
44  unsigned char RejectDuplicates);
45 
46 void GSM_Find_Free_Used_SMS2(GSM_Debug_Info *di, GSM_Coding_Type Coding, GSM_SMSMessage *SMS, size_t *UsedText, size_t *FreeText, size_t *FreeBytes);
47 
48 unsigned char GSM_MakeSMSIDFromTime(void);
49 
52  GSM_MultiSMSMessage *SMS);
53 
54 #if defined(_MSC_VER) && defined(__cplusplus)
55  }
56 #endif
57 
58 #endif
59 
60 /* How should editor hadle tabs in this file? Add editor commands here.
61  * vim: noexpandtab sw=8 ts=8 sts=8:
62  */
void GSM_Find_Free_Used_SMS2(GSM_Debug_Info *di, GSM_Coding_Type Coding, GSM_SMSMessage *SMS, size_t *UsedText, size_t *FreeText, size_t *FreeBytes)
Definition: gsmmulti.c:37
GSM_Error GSM_AddSMS_Text_UDH(GSM_Debug_Info *di, GSM_MultiSMSMessage *SMS, GSM_Coding_Type Coding, char *Buffer, size_t BufferLen, gboolean UDH, size_t *UsedText, size_t *CopiedText, size_t *CopiedSMSText)
Definition: gsmmulti.c:212
GSM_Error
Definition: gammu-error.h:23
int gboolean
Definition: gammu-types.h:23
unsigned char GSM_MakeSMSIDFromTime(void)
Definition: gsmmulti.c:21
void GSM_MakeMultiPartSMS(GSM_Debug_Info *di, GSM_MultiSMSMessage *SMS, unsigned char *MessageBuffer, size_t MessageLength, GSM_UDH UDHType, GSM_Coding_Type Coding, int Class, unsigned char RejectDuplicates)
Definition: gsmmulti.c:305
GSM_UDH
GSM_Coding_Type
gboolean GSM_DecodeMMSIndication(GSM_Debug_Info *di, GSM_MultiPartSMSInfo *Info, GSM_MultiSMSMessage *SMS)
Definition: gsmmulti.c:981