#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <time.h>
#include <ctype.h>
#include "samp.h"
Defines | |
| #define | METH_DBG (getenv("METH_DBG")!=NULL||access("/tmp/METH_DBG",F_OK)==0) |
| #define | OK_Map samp_getOKMap() |
Functions | |
| int | samp_receiveCall (void *data) |
| test.echo method | |
| int | samp_receiveNotification (void *data) |
| receiveNotification () client method. | |
| int | samp_receiveResponse (void *data) |
| receiveResponse () client method. | |
Variables | |
| Map | nullMap |
| List | nullList |
| Samp * | sampP |
| handle_t | sampH |
SAMPMETHODS.C -- SAMP methods implemented by a callable client.
| int samp_receiveCall | ( | void * | data | ) |
test.echo method
receiveCall () client method.
SAMP_TESTECHO -- test.echo method
| data | caller param data |
| data | caller param data |
References Samp::defaultUserFunc, OK_Map, samp_execUserHandler(), samp_getSampHandler(), samp_getUserHandler(), samp_Reply(), sampH, and Samp::trace.
| int samp_receiveNotification | ( | void * | data | ) |
receiveNotification () client method.
SAMP_RECEIVENOTIFICATION -- receiveNotification() client method.
| data | caller param data |
References Samp::defaultUserFunc, OK_Map, samp_execUserHandler(), samp_getSampHandler(), samp_processHubEvent(), and Samp::trace.
| int samp_receiveResponse | ( | void * | data | ) |
receiveResponse () client method.
SAMP_RECEIVERESPONSE -- receiveResponse() client method.
| data | caller param data |
References Samp::defaultUserFunc, OK_Map, samp_execUserHandler(), and Samp::trace.
SAMP_OK Map struct
Referenced by sampInit().
SAMP handle
Referenced by samp_getOKMap(), samp_hubDeclareSubscriptions(), and sampInit().
| handle_t sampH |
SAMP struct pointer
Referenced by samp_envGetHandler(), samp_paramGetHandler(), samp_processHubEvent(), samp_receiveCall(), and sampInit().
1.5.9