xrValues.c File Reference

Methods to handle XML-RPC values. More...

#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <xmlrpc-c/base.h>
#include <xmlrpc-c/client.h>
#include <xmlrpc-c/server.h>
#include <xmlrpc-c/server_abyss.h>
#include "xrpcP.h"

Data Structures

struct  XValue

Defines

#define MAX_XVALUES   128
#define V_FIRST   5
#define V_LAST   MAX_XVALUES
#define V_TMPVAL   0
#define V_CPARAM   1
#define V_CRESULT   2
#define V_MPARAM   3
#define V_MRESULT   4

Typedefs

typedef struct XValue * XValueP

Functions

void xr_initValues ()
int xr_newValue (int type, void *v)
int xr_tmpValue (int type, void *v)
void xr_freeValue (int index)
int xr_appendStruct (int snum, char *key, int value)
int xr_appendArray (int anum, char *key, int value)
void xr_getStructValue (int snum, char *key, void *value)
void xr_getArrayValue (int anum, int index, void *value)

Variables

int nx_values = -1
XValue xValues [MAX_XVALUES]
xmlrpc_env env


Detailed Description

Methods to handle XML-RPC values.

XRVALUES.C

Methods to handle XML-RPC values.

xr_initValues () v = xr_newValue (int type, void *v) v = xr_tmpValue (int type, void *v) xr_freeValue (int index)

snum = xr_appendStruct (int snum, char *key, int value) anum = xr_appendArray (int anum, char *key, int value)

xr_getStructValue (int snum, char *key, void *value) xr_getArrayValue (int anum, int index, void *value)

Author:
Mike Fitzpatrick
Date:
6/10/09

Generated on Fri Apr 30 15:45:21 2010 for XRPC by  doxygen 1.5.9