libsyncml  0.5.4
Functions
SyncML Command

The public part. More...

Collaboration diagram for SyncML Command:

Functions

SmlStatussmlStatusNew (SmlErrorType data, unsigned int cmdref, unsigned int msgref, SmlLocation *sourceref, SmlLocation *targeref, SmlCommandType type, SmlError **error)
 
SmlStatussmlStatusRef (SmlStatus *status)
 
void smlStatusUnref (SmlStatus *status)
 
SmlErrorType smlStatusGetCode (SmlStatus *status)
 
SmlErrorClass smlStatusGetClass (SmlStatus *status)
 
SmlCommandsmlStatusGetResult (SmlStatus *status)
 
SmlBool smlStatusIsResult (SmlStatus *status)
 
SmlCommandsmlCommandNew (SmlCommandType type, SmlError **error)
 
SmlStatussmlCommandNewReply (const SmlCommand *cmd, SmlErrorType code, SmlError **error)
 
SmlCommandsmlCommandRef (SmlCommand *cmd)
 
void smlCommandUnref (SmlCommand *cmd)
 
SmlCommandsmlCommandNewAlert (SmlAlertType type, SmlLocation *target, SmlLocation *source, const char *next, const char *last, const char *contenttype, SmlError **error)
 
SmlCommandsmlCommandNewSync (SmlLocation *target, SmlLocation *source, unsigned int num_changes, SmlError **error)
 
SmlCommandsmlCommandNewChange (SmlChangeType type, const char *uid, const char *data, unsigned int size, const char *contenttype, SmlError **error)
 
SmlCommandsmlCommandNewPartialChange (SmlChangeType type, const char *uid, const char *data, unsigned int complete_size, unsigned int partial_size, const char *contenttype, SmlError **error)
 
SmlCommandsmlCommandNewResult (SmlCommand *cmd, SmlLocation *source, char *data, unsigned int size, const char *contenttype, SmlError **error)
 
SmlCommandsmlCommandNewPut (SmlLocation *target, SmlLocation *source, const char *data, unsigned int size, const char *contenttype, SmlError **error)
 
SmlCommandsmlCommandNewGet (SmlLocation *target, const char *contenttype, SmlError **error)
 
SmlCommandsmlCommandNewMap (SmlLocation *target, SmlLocation *source, SmlError **error)
 
SmlBool smlCommandAddMapItem (SmlCommand *map, SmlMapItem *item, SmlError **error)
 

Detailed Description

The public part.

Function Documentation

SmlCommand* smlCommandNewPartialChange ( SmlChangeType  type,
const char *  uid,
const char *  data,
unsigned int  complete_size,
unsigned int  partial_size,
const char *  contenttype,
SmlError **  error 
)

Send a fragmented change. You can use this command to fragment a very large change into several objects.

Parameters
complete_sizeThe overall size of the object. must be the sum over all partial_sizes
partial_sizeThe size of this part.

Definition at line 433 of file sml_command.c.

Here is the call graph for this function: