/home/dko/Projects/mobilec/src/agent_file_data.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "include/agent_file_data.h"
#include <b64/cencode.h>

Go to the source code of this file.

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_Destroy (agent_file_data_p agent_file_data)
int agent_file_data_CmpName (const void *key, void *element)

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 
)
Generated on Fri Jun 17 16:59:06 2011 for Mobile-C by  doxygen 1.6.3