Samp Struct Reference

#include <samp.h>


Data Fields

char appName [SZ_NAME]
char appVer [SZ_LINE]
char description [SZ_NAME]
char errortxt [SZ_LINE]
appMD meta
pthread_t svrThread
int(* defaultUserFunc )(char *sender, char *msgid, Map map)
Subs subs [MAX_SUBS]
int nsubs
Client clients [MAX_CLIENTS]
int nclients
int serverTid
int serverPort
Hubhub
handle_t hubHandle
int hubThreadID
int active
int msgMode
int handlerMode
FILE * logfd
int debug
int trace


Detailed Description

SAMP application description. By default this describes our app by may be used to store information about other apps in the network as well.

Field Documentation

Hub thread id

Referenced by sampShutdown(), and sampStartup().

char Samp::appVer[SZ_LINE]

application name

Referenced by samp_hubOpen(), and samp_setAppVersion().

Client Samp::clients[MAX_CLIENTS]

log file descriptor

Referenced by samp_call(), samp_callAll(), samp_callAndWait(), samp_notifyAll(), and sampLog().

int(* Samp::defaultUserFunc)(char *sender, char *msgid, Map map)

char Samp::description[SZ_NAME]

application version

Referenced by samp_hubOpen().

char Samp::errortxt[SZ_LINE]

handle_t Samp::hubHandle

Hub connection

Referenced by sampClose(), sampShutdown(), and sampStartup().

Hub handle alias

FILE* Samp::logfd

CBR / CBV for user handlers

Referenced by sampLog().

last msh error string

Referenced by samp_Metadata().

samp server threadId

number of samp clients

pthread_t Samp::svrThread

metadata

Referenced by sampShutdown().


The documentation for this struct was generated from the following file:

Generated on Wed Aug 31 13:23:14 2011 for SAMP Client Library by  doxygen 1.5.9