/home/dko/Projects/mobilec/src/include/agent_file_data.h File Reference

Go to the source code of this file.

Data Structures

struct  agent_file_data_s

Typedefs

typedef struct agent_file_data_s agent_file_data_t
typedef struct agent_file_data_sagent_file_data_p

Functions

agent_file_data_p agent_file_data_New (void)
agent_file_data_p agent_file_data_NewWithData (const char *name, const char *data)
agent_file_data_p agent_file_data_Copy (agent_file_data_p src)
agent_file_data_p agent_file_data_InitializeFromFilename (const char *filename)
agent_file_data_p agent_file_data_Encode (const char *name, void *data, int size)
int agent_file_data_SaveToFile (const char *filename, agent_file_data_p afd)
int agent_file_data_Destroy (agent_file_data_p agent_file_data)
int agent_file_data_CmpName (const void *key, void *element)

Typedef Documentation

Definition at line 41 of file agent_file_data.h.


Function Documentation

int agent_file_data_CmpName ( const void *  key,
void *  element 
)

Definition at line 102 of file agent_file_data.c.

References agent_file_data_s::name.

Referenced by MC_AgentRetrieveFile().

agent_file_data_p agent_file_data_Copy ( agent_file_data_p  src  ) 

Definition at line 26 of file agent_file_data.c.

References agent_file_data_s::data, agent_file_data_s::name, and strdup.

Referenced by agent_task_Copy().

int agent_file_data_Destroy ( agent_file_data_p  agent_file_data  ) 
agent_file_data_p agent_file_data_Encode ( const char *  name,
void *  data,
int  size 
)

Definition at line 84 of file agent_file_data.c.

agent_file_data_p agent_file_data_InitializeFromFilename ( const char *  filename  ) 
agent_file_data_p agent_file_data_New ( void   ) 

Definition at line 8 of file agent_file_data.c.

References agent_file_data_s::data, and agent_file_data_s::name.

Referenced by agent_file_data_NewWithData().

agent_file_data_p agent_file_data_NewWithData ( const char *  name,
const char *  data 
)
int agent_file_data_SaveToFile ( const char *  filename,
agent_file_data_p  afd 
)
Generated on Fri Jun 17 16:59:06 2011 for Mobile-C by  doxygen 1.6.3