Errors

Listing of all the error codes and routines dealing with errors. More...

Defines

#define ET_OK   0
 No error.
#define ET_ERROR   -1
 General error.
#define ET_ERROR_TOOMANY   -2
 Too many somethings (stations, attachments, temp events, ET system responses) exist.
#define ET_ERROR_EXISTS   -3
 ET system file or station already exists.
#define ET_ERROR_WAKEUP   -4
 Sleeping routine woken up by et_wakeup_attachment() or et_wakeup_all().
#define ET_ERROR_TIMEOUT   -5
 Timed out.
#define ET_ERROR_EMPTY   -6
 No events available in async mode.
#define ET_ERROR_BUSY   -7
 Resource is busy.
#define ET_ERROR_DEAD   -8
 ET system is dead.
#define ET_ERROR_READ   -9
 Network read error.
#define ET_ERROR_WRITE   -10
 Network write error,.
#define ET_ERROR_REMOTE   -11
 Cannot allocate memory in remote client.
#define ET_ERROR_NOREMOTE   -12
 (Currently not used).
#define ET_ERROR_TOOBIG   -13
 Client is 32 bits & server is 64 (or vice versa) and event is too big for one.
#define ET_ERROR_NOMEM   -14
 Cannot allocate memory.
#define ET_ERROR_BADARG   -15
 Bad argument given to function.
#define ET_ERROR_SOCKET   -16
 Socket option could not be set.
#define ET_ERROR_NETWORK   -17
 Host name or address could not be resolved, or cannot connect.
#define ET_ERROR_CLOSED   -18
 ET system has been closed by client.
#define ET_ERROR_JAVASYS   -19
 C code trying to open Java-based ET system file locally.

Functions

char * et_perror (int error)
 This routine returns a string describing the given error condition.

Detailed Description

Listing of all the error codes and routines dealing with errors.


Define Documentation

#define ET_ERROR   -1

General error.

Referenced by et_attach_geteventsdump(), et_attach_geteventsget(), et_attach_geteventsmake(), et_attach_geteventsput(), et_bridge_config_getchunkfrom(), et_bridge_config_getchunkto(), et_bridge_config_getmodefrom(), et_bridge_config_getmodeto(), et_bridge_config_gettimeoutfrom(), et_bridge_config_gettimeoutto(), et_bridge_config_init(), et_bridge_config_setchunkfrom(), et_bridge_config_setchunkto(), et_bridge_config_setfunc(), et_bridge_config_setmodefrom(), et_bridge_config_setmodeto(), et_bridge_config_settimeoutfrom(), et_bridge_config_settimeoutto(), et_close(), et_event_dump(), et_event_get(), et_event_getcontrol(), et_event_getdata(), et_event_getdatastatus(), et_event_getendian(), et_event_getgroup(), et_event_getlength(), et_event_getpriority(), et_event_needtoswap(), et_event_new(), et_event_put(), et_event_setcontrol(), et_event_setdatabuffer(), et_event_setdatastatus(), et_event_setendian(), et_event_setlength(), et_event_setpriority(), et_events_bridge(), et_events_dump(), et_events_get(), et_events_new(), et_events_new_group(), et_events_put(), et_findlocality(), et_forcedclose(), et_kill(), et_open(), et_open_config_addbroadcast(), et_open_config_addmulticast(), et_open_config_getcast(), et_open_config_getdebugdefault(), et_open_config_gethost(), et_open_config_getinterface(), et_open_config_getmode(), et_open_config_getmultiport(), et_open_config_getpolicy(), et_open_config_getport(), et_open_config_getserverport(), et_open_config_gettcp(), et_open_config_gettimeout(), et_open_config_getTTL(), et_open_config_getwait(), et_open_config_init(), et_open_config_removebroadcast(), et_open_config_removemulticast(), et_open_config_setcast(), et_open_config_setdebugdefault(), et_open_config_sethost(), et_open_config_setinterface(), et_open_config_setmode(), et_open_config_setmultiport(), et_open_config_setpolicy(), et_open_config_setport(), et_open_config_setserverport(), et_open_config_settcp(), et_open_config_settimeout(), et_open_config_setTTL(), et_open_config_setwait(), et_perror(), et_station_attach(), et_station_config_check(), et_station_config_getblock(), et_station_config_getclass(), et_station_config_getcue(), et_station_config_getflow(), et_station_config_getfunction(), et_station_config_getlib(), et_station_config_getprescale(), et_station_config_getrestore(), et_station_config_getselect(), et_station_config_getselectwords(), et_station_config_getuser(), et_station_config_init(), et_station_config_setblock(), et_station_config_setclass(), et_station_config_setcue(), et_station_config_setflow(), et_station_config_setfunction(), et_station_config_setlib(), et_station_config_setprescale(), et_station_config_setrestore(), et_station_config_setselect(), et_station_config_setselectwords(), et_station_config_setuser(), et_station_create_at(), et_station_detach(), et_station_exists(), et_station_getattachments(), et_station_getblock(), et_station_getclass(), et_station_getcue(), et_station_getfunction(), et_station_getinputcount(), et_station_getlib(), et_station_getoutputcount(), et_station_getposition(), et_station_getprescale(), et_station_getrestore(), et_station_getselect(), et_station_getselectwords(), et_station_getstatus(), et_station_getuser(), et_station_isattached(), et_station_name_to_id(), et_station_remove(), et_station_setblock(), et_station_setcue(), et_station_setposition(), et_station_setprescale(), et_station_setrestore(), et_station_setselectwords(), et_station_setuser(), et_system_close(), et_system_config_addmulticast(), et_system_config_getattachments(), et_system_config_getevents(), et_system_config_getfile(), et_system_config_getport(), et_system_config_getprocs(), et_system_config_getserverport(), et_system_config_getsize(), et_system_config_getstations(), et_system_config_gettcp(), et_system_config_gettemps(), et_system_config_init(), et_system_config_removemulticast(), et_system_config_setattachments(), et_system_config_setevents(), et_system_config_setfile(), et_system_config_setgroups(), et_system_config_setport(), et_system_config_setprocs(), et_system_config_setserverport(), et_system_config_setsize(), et_system_config_setstations(), et_system_config_settcp(), et_system_config_settemps(), et_system_getattachments(), et_system_getattsmax(), et_system_getdebug(), et_system_geteventsize(), et_system_getgroup(), et_system_getheartbeat(), et_system_gethost(), et_system_getlocality(), et_system_getnumevents(), et_system_getpid(), et_system_getprocs(), et_system_getprocsmax(), et_system_getserverport(), et_system_getstations(), et_system_getstationsmax(), et_system_gettemps(), et_system_gettempsmax(), et_system_setdebug(), et_system_setgroup(), et_system_start(), et_wakeup_all(), et_wakeup_attachment(), etr_event_put(), and etr_events_put().

#define ET_ERROR_BADARG   -15

Bad argument given to function.

Referenced by et_perror().

#define ET_ERROR_BUSY   -7

Resource is busy.

Referenced by et_perror().

#define ET_ERROR_CLOSED   -18
#define ET_ERROR_DEAD   -8
#define ET_ERROR_EMPTY   -6

No events available in async mode.

Referenced by et_perror().

#define ET_ERROR_EXISTS   -3

ET system file or station already exists.

Referenced by et_perror(), et_station_create_at(), et_system_start(), and etr_station_create_at().

#define ET_ERROR_JAVASYS   -19

C code trying to open Java-based ET system file locally.

Referenced by et_open(), and et_perror().

#define ET_ERROR_NETWORK   -17

Host name or address could not be resolved, or cannot connect.

Referenced by et_perror().

#define ET_ERROR_NOMEM   -14

Cannot allocate memory.

Referenced by et_perror(), and et_system_config_init().

#define ET_ERROR_NOREMOTE   -12

(Currently not used).

Referenced by et_perror().

#define ET_ERROR_READ   -9
#define ET_ERROR_REMOTE   -11
#define ET_ERROR_SOCKET   -16

Socket option could not be set.

Referenced by et_perror().

#define ET_ERROR_TIMEOUT   -5
#define ET_ERROR_TOOBIG   -13

Client is 32 bits & server is 64 (or vice versa) and event is too big for one.

Referenced by et_perror().

#define ET_ERROR_TOOMANY   -2

Too many somethings (stations, attachments, temp events, ET system responses) exist.

Referenced by et_event_new(), et_events_new(), et_events_new_group(), et_findlocality(), et_open(), et_perror(), et_station_attach(), et_station_create_at(), and etr_open().

#define ET_ERROR_WAKEUP   -4
#define ET_ERROR_WRITE   -10
#define ET_OK   0

No error.

Referenced by et_attach_geteventsdump(), et_attach_geteventsget(), et_attach_geteventsmake(), et_attach_geteventsput(), et_bridge_config_destroy(), et_bridge_config_getchunkfrom(), et_bridge_config_getchunkto(), et_bridge_config_getmodefrom(), et_bridge_config_getmodeto(), et_bridge_config_gettimeoutfrom(), et_bridge_config_gettimeoutto(), et_bridge_config_init(), et_bridge_config_setchunkfrom(), et_bridge_config_setchunkto(), et_bridge_config_setfunc(), et_bridge_config_setmodefrom(), et_bridge_config_setmodeto(), et_bridge_config_settimeoutfrom(), et_bridge_config_settimeoutto(), et_event_dump(), et_event_get(), et_event_getcontrol(), et_event_getdata(), et_event_getdatastatus(), et_event_getendian(), et_event_getgroup(), et_event_getlength(), et_event_getpriority(), et_event_needtoswap(), et_event_new(), et_event_put(), et_event_setcontrol(), et_event_setdatabuffer(), et_event_setdatastatus(), et_event_setendian(), et_event_setlength(), et_event_setpriority(), et_events_dump(), et_events_get(), et_events_new(), et_events_new_group(), et_events_put(), et_open(), et_open_config_addbroadcast(), et_open_config_addmulticast(), et_open_config_destroy(), et_open_config_getcast(), et_open_config_getdebugdefault(), et_open_config_gethost(), et_open_config_getinterface(), et_open_config_getmode(), et_open_config_getmultiport(), et_open_config_getpolicy(), et_open_config_getport(), et_open_config_getserverport(), et_open_config_gettcp(), et_open_config_gettimeout(), et_open_config_getTTL(), et_open_config_getwait(), et_open_config_init(), et_open_config_removebroadcast(), et_open_config_removemulticast(), et_open_config_setcast(), et_open_config_setdebugdefault(), et_open_config_sethost(), et_open_config_setinterface(), et_open_config_setmode(), et_open_config_setmultiport(), et_open_config_setpolicy(), et_open_config_setport(), et_open_config_setserverport(), et_open_config_settcp(), et_open_config_settimeout(), et_open_config_setTTL(), et_open_config_setwait(), et_perror(), et_station_attach(), et_station_config_check(), et_station_config_destroy(), et_station_config_getblock(), et_station_config_getclass(), et_station_config_getcue(), et_station_config_getflow(), et_station_config_getfunction(), et_station_config_getlib(), et_station_config_getprescale(), et_station_config_getrestore(), et_station_config_getselect(), et_station_config_getselectwords(), et_station_config_getuser(), et_station_config_init(), et_station_config_setblock(), et_station_config_setclass(), et_station_config_setcue(), et_station_config_setflow(), et_station_config_setfunction(), et_station_config_setlib(), et_station_config_setprescale(), et_station_config_setrestore(), et_station_config_setselect(), et_station_config_setselectwords(), et_station_config_setuser(), et_station_create_at(), et_station_detach(), et_station_getattachments(), et_station_getblock(), et_station_getclass(), et_station_getcue(), et_station_getfunction(), et_station_getinputcount(), et_station_getlib(), et_station_getoutputcount(), et_station_getposition(), et_station_getprescale(), et_station_getrestore(), et_station_getselect(), et_station_getselectwords(), et_station_getstatus(), et_station_getuser(), et_station_name_to_id(), et_station_remove(), et_station_setblock(), et_station_setcue(), et_station_setposition(), et_station_setprescale(), et_station_setrestore(), et_station_setselectwords(), et_station_setuser(), et_system_close(), et_system_config_addmulticast(), et_system_config_destroy(), et_system_config_getattachments(), et_system_config_getevents(), et_system_config_getfile(), et_system_config_getport(), et_system_config_getprocs(), et_system_config_getserverport(), et_system_config_getsize(), et_system_config_getstations(), et_system_config_gettcp(), et_system_config_gettemps(), et_system_config_init(), et_system_config_removemulticast(), et_system_config_setattachments(), et_system_config_setevents(), et_system_config_setfile(), et_system_config_setgroups(), et_system_config_setport(), et_system_config_setprocs(), et_system_config_setserverport(), et_system_config_setsize(), et_system_config_setstations(), et_system_config_settcp(), et_system_config_settemps(), et_system_getattachments(), et_system_getattsmax(), et_system_getdebug(), et_system_geteventsize(), et_system_getgroup(), et_system_getheartbeat(), et_system_gethost(), et_system_getlocality(), et_system_getnumevents(), et_system_getpid(), et_system_getprocs(), et_system_getprocsmax(), et_system_getserverport(), et_system_getstations(), et_system_getstationsmax(), et_system_gettemps(), et_system_gettempsmax(), et_system_setdebug(), et_system_setgroup(), et_system_start(), et_wakeup_all(), et_wakeup_attachment(), etr_close(), etr_event_dump(), etr_event_get(), etr_event_new(), etr_event_put(), etr_events_dump(), etr_events_get(), etr_events_new(), etr_events_new_group(), etr_events_put(), etr_forcedclose(), etr_kill(), etr_open(), etr_station_attach(), etr_station_create_at(), etr_station_getclass(), etr_station_getfunction(), etr_station_getlib(), etr_station_getposition(), etr_station_getselectwords(), etr_wait_for_alive(), etr_wakeup_all(), and etr_wakeup_attachment().


Function Documentation

char* et_perror ( int  error  ) 

This routine returns a string describing the given error condition.

The returned string is a static char array. This means it is not thread-safe and will be overwritten on subsequent calls.

Parameters:
error error condition
Returns:
error string

References ET_ERROR, ET_ERROR_BADARG, ET_ERROR_BUSY, ET_ERROR_CLOSED, ET_ERROR_DEAD, ET_ERROR_EMPTY, ET_ERROR_EXISTS, ET_ERROR_JAVASYS, ET_ERROR_NETWORK, ET_ERROR_NOMEM, ET_ERROR_NOREMOTE, ET_ERROR_READ, ET_ERROR_REMOTE, ET_ERROR_SOCKET, ET_ERROR_TIMEOUT, ET_ERROR_TOOBIG, ET_ERROR_TOOMANY, ET_ERROR_WAKEUP, ET_ERROR_WRITE, and ET_OK.


Generated on 30 Jul 2015 for ET System by  doxygen 1.6.1