G:/ScriptBasic/source/extensions/xml/interface.c File Reference

#include <stdio.h>
#include "../../basext.h"
#include <libxml/parser.h>

Go to the source code of this file.

Data Structures

struct  _ModuleObject

Defines

#define GET_ARGUMENT_POINTER(X, Y)
#define RETURN_POINTER(X)

Typedefs

typedef _ModuleObject ModuleObject
typedef _ModuleObjectpModuleObject

Functions

besVERSION_NEGOTIATE return (int)
 if (besMODULEPOINTER==NULL)

Variables

return Unknown xml module error
besEND besSUB_START pModuleObject p
 besMODULEPOINTER = besALLOC(sizeof(ModuleObject))


Define Documentation

#define GET_ARGUMENT_POINTER X,
 ) 
 

Value:

if( besARGNR < Y )return COMMAND_ERROR_ARGUMENT_RANGE;\
  Argument = besARGUMENT(Y);\
  besDEREFERENCE(Argument);\
  if( Argument == NULL )X=NULL; else { \
      if( Argument->vType != VTYPE_STRING ||\
          STRLEN(Argument) != sizeof(void *) ){\
    return COMMAND_ERROR_ARGUMENT_RANGE;\
    }\
  memcpy(&(X),STRINGVALUE(Argument),sizeof(void *));\
  }

Definition at line 41 of file interface.c.

#define RETURN_POINTER  ) 
 

Value:

besALLOC_RETURN_STRING( sizeof( void *) );\
   memcpy(STRINGVALUE(besRETURNVALUE),&(X),sizeof(void *));

Definition at line 53 of file interface.c.


Typedef Documentation

typedef struct _ModuleObject ModuleObject
 

typedef struct _ModuleObject* pModuleObject
 


Function Documentation

if besMODULEPOINTER  = NULL  ) 
 

Definition at line 85 of file interface.c.

References NULL.

besVERSION_NEGOTIATE return int   ) 
 

Definition at line 62 of file interface.c.


Variable Documentation

besMODULEPOINTER = besALLOC(sizeof(ModuleObject))
 

Definition at line 84 of file interface.c.

return Unknown xml module error
 

Definition at line 74 of file interface.c.

besEND besSUB_START pModuleObject p
 

Definition at line 82 of file interface.c.


Generated on Sun Mar 12 23:56:36 2006 for ScriptBasic by  doxygen 1.4.6-NO