ET System  16.4
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
et_remote.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <netdb.h>
#include <sys/time.h>
#include "et_private.h"
#include "et_network.h"

Functions

int etr_open (et_sys_id *id, const char *et_filename, et_openconfig openconfig)
 
int etr_close (et_sys_id id)
 
int etr_forcedclose (et_sys_id id)
 
int etr_kill (et_sys_id id)
 
int etr_alive (et_sys_id id)
 
int etr_wait_for_alive (et_sys_id id)
 
int etr_wakeup_attachment (et_sys_id id, et_att_id att)
 
int etr_wakeup_all (et_sys_id id, et_stat_id stat_id)
 
int etr_station_create_at (et_sys_id id, et_stat_id *stat_id, const char *stat_name, et_statconfig sconfig, int position, int parallelposition)
 
int etr_station_create (et_sys_id id, et_stat_id *stat_id, const char *stat_name, et_statconfig sconfig)
 
int etr_station_remove (et_sys_id id, et_stat_id stat_id)
 
int etr_station_attach (et_sys_id id, et_stat_id stat_id, et_att_id *att)
 
int etr_station_detach (et_sys_id id, et_att_id att)
 
int etr_station_setposition (et_sys_id id, et_stat_id stat_id, int position, int parallelposition)
 
int etr_station_getposition (et_sys_id id, et_stat_id stat_id, int *position, int *parallelposition)
 
int etr_station_isattached (et_sys_id id, et_stat_id stat_id, et_att_id att)
 
int etr_station_exists (et_sys_id id, et_stat_id *stat_id, const char *stat_name)
 
int etr_station_setselectwords (et_sys_id id, et_stat_id stat_id, int select[])
 
int etr_station_getselectwords (et_sys_id id, et_stat_id stat_id, int select[])
 
int etr_station_getlib (et_sys_id id, et_stat_id stat_id, char *lib)
 
int etr_station_getclass (et_sys_id id, et_stat_id stat_id, char *classs)
 
int etr_station_getfunction (et_sys_id id, et_stat_id stat_id, char *function)
 
int etr_station_getattachments (et_sys_id id, et_stat_id stat_id, int *numatts)
 
int etr_station_getstatus (et_sys_id id, et_stat_id stat_id, int *status)
 
int etr_station_getinputcount (et_sys_id id, et_stat_id stat_id, int *cnt)
 
int etr_station_getoutputcount (et_sys_id id, et_stat_id stat_id, int *cnt)
 
int etr_station_getblock (et_sys_id id, et_stat_id stat_id, int *block)
 
int etr_station_getuser (et_sys_id id, et_stat_id stat_id, int *user)
 
int etr_station_getrestore (et_sys_id id, et_stat_id stat_id, int *restore)
 
int etr_station_getselect (et_sys_id id, et_stat_id stat_id, int *select)
 
int etr_station_getcue (et_sys_id id, et_stat_id stat_id, int *cue)
 
int etr_station_getprescale (et_sys_id id, et_stat_id stat_id, int *prescale)
 
int etr_station_setblock (et_sys_id id, et_stat_id stat_id, int block)
 
int etr_station_setuser (et_sys_id id, et_stat_id stat_id, int user)
 
int etr_station_setrestore (et_sys_id id, et_stat_id stat_id, int restore)
 
int etr_station_setprescale (et_sys_id id, et_stat_id stat_id, int prescale)
 
int etr_station_setcue (et_sys_id id, et_stat_id stat_id, int cue)
 
int etr_system_gettemps (et_sys_id id, int *temps)
 
int etr_system_gettempsmax (et_sys_id id, int *tempsmax)
 
int etr_system_getstations (et_sys_id id, int *stations)
 
int etr_system_getstationsmax (et_sys_id id, int *stationsmax)
 
int etr_system_getprocs (et_sys_id id, int *procs)
 
int etr_system_getprocsmax (et_sys_id id, int *procsmax)
 
int etr_system_getattachments (et_sys_id id, int *atts)
 
int etr_system_getattsmax (et_sys_id id, int *attsmax)
 
int etr_system_getheartbeat (et_sys_id id, int *heartbeat)
 
int etr_system_getpid (et_sys_id id, int *pid)
 
int etr_system_getgroupcount (et_sys_id id, int *groupCnt)
 
int etr_attach_geteventsput (et_sys_id id, et_att_id att_id, uint64_t *events)
 
int etr_attach_geteventsget (et_sys_id id, et_att_id att_id, uint64_t *events)
 
int etr_attach_geteventsdump (et_sys_id id, et_att_id att_id, uint64_t *events)
 
int etr_attach_geteventsmake (et_sys_id id, et_att_id att_id, uint64_t *events)
 
int et_event_setdatabuffer (et_sys_id id, et_event *pe, void *data)
 This routine set an event's data buffer for a remote user. More...
 
int etr_event_new (et_sys_id id, et_att_id att, et_event **ev, int mode, struct timespec *deltatime, size_t size)
 
int etr_events_new (et_sys_id id, et_att_id att, et_event *evs[], int mode, struct timespec *deltatime, size_t size, int num, int *nread)
 
int etr_events_new_group (et_sys_id id, et_att_id att, et_event *evs[], int mode, struct timespec *deltatime, size_t size, int num, int group, int *nread)
 
int etr_event_get (et_sys_id id, et_att_id att, et_event **ev, int mode, struct timespec *deltatime)
 
int etr_events_get (et_sys_id id, et_att_id att, et_event *evs[], int mode, struct timespec *deltatime, int num, int *nread)
 
int etr_event_put (et_sys_id id, et_att_id att, et_event *ev)
 
int etr_events_put (et_sys_id id, et_att_id att, et_event *evs[], int num)
 
int etr_event_dump (et_sys_id id, et_att_id att, et_event *ev)
 
int etr_events_dump (et_sys_id id, et_att_id att, et_event *evs[], int num)
 

Function Documentation

int etr_attach_geteventsdump ( et_sys_id  id,
et_att_id  att_id,
uint64_t *  events 
)

References ET_NET_ATT_DUMP.

Referenced by et_attach_geteventsdump().

int etr_attach_geteventsget ( et_sys_id  id,
et_att_id  att_id,
uint64_t *  events 
)

References ET_NET_ATT_GET.

Referenced by et_attach_geteventsget().

int etr_attach_geteventsmake ( et_sys_id  id,
et_att_id  att_id,
uint64_t *  events 
)

References ET_NET_ATT_MAKE.

Referenced by et_attach_geteventsmake().

int etr_attach_geteventsput ( et_sys_id  id,
et_att_id  att_id,
uint64_t *  events 
)

References ET_NET_ATT_PUT.

Referenced by et_attach_geteventsput().

int etr_station_create ( et_sys_id  id,
et_stat_id stat_id,
const char *  stat_name,
et_statconfig  sconfig 
)

References ET_END, and etr_station_create_at().

int etr_station_exists ( et_sys_id  id,
et_stat_id stat_id,
const char *  stat_name 
)
int etr_station_getattachments ( et_sys_id  id,
et_stat_id  stat_id,
int *  numatts 
)

References ET_NET_STAT_GATTS.

Referenced by et_station_getattachments().

int etr_station_getblock ( et_sys_id  id,
et_stat_id  stat_id,
int *  block 
)

References ET_NET_STAT_GBLOCK.

Referenced by et_station_getblock().

int etr_station_getcue ( et_sys_id  id,
et_stat_id  stat_id,
int *  cue 
)

References ET_NET_STAT_GCUE.

Referenced by et_station_getcue().

int etr_station_getinputcount ( et_sys_id  id,
et_stat_id  stat_id,
int *  cnt 
)

References ET_NET_STAT_INCNT.

Referenced by et_station_getinputcount().

int etr_station_getoutputcount ( et_sys_id  id,
et_stat_id  stat_id,
int *  cnt 
)

References ET_NET_STAT_OUTCNT.

Referenced by et_station_getoutputcount().

int etr_station_getposition ( et_sys_id  id,
et_stat_id  stat_id,
int *  position,
int *  parallelposition 
)
int etr_station_getprescale ( et_sys_id  id,
et_stat_id  stat_id,
int *  prescale 
)

References ET_NET_STAT_GPRE.

Referenced by et_station_getprescale().

int etr_station_getrestore ( et_sys_id  id,
et_stat_id  stat_id,
int *  restore 
)

References ET_NET_STAT_GRESTORE.

Referenced by et_station_getrestore().

int etr_station_getselect ( et_sys_id  id,
et_stat_id  stat_id,
int *  select 
)

References ET_NET_STAT_GSELECT.

Referenced by et_station_getselect().

int etr_station_getstatus ( et_sys_id  id,
et_stat_id  stat_id,
int *  status 
)

References ET_NET_STAT_STATUS.

Referenced by et_station_getstatus().

int etr_station_getuser ( et_sys_id  id,
et_stat_id  stat_id,
int *  user 
)

References ET_NET_STAT_GUSER.

Referenced by et_station_getuser().

int etr_station_setblock ( et_sys_id  id,
et_stat_id  stat_id,
int  block 
)

References ET_NET_STAT_SBLOCK.

Referenced by et_station_setblock().

int etr_station_setcue ( et_sys_id  id,
et_stat_id  stat_id,
int  cue 
)

References ET_NET_STAT_SCUE.

Referenced by et_station_setcue().

int etr_station_setposition ( et_sys_id  id,
et_stat_id  stat_id,
int  position,
int  parallelposition 
)
int etr_station_setprescale ( et_sys_id  id,
et_stat_id  stat_id,
int  prescale 
)

References ET_NET_STAT_SPRE.

Referenced by et_station_setprescale().

int etr_station_setrestore ( et_sys_id  id,
et_stat_id  stat_id,
int  restore 
)

References ET_NET_STAT_SRESTORE.

Referenced by et_station_setrestore().

int etr_station_setuser ( et_sys_id  id,
et_stat_id  stat_id,
int  user 
)

References ET_NET_STAT_SUSER.

Referenced by et_station_setuser().

int etr_system_getattachments ( et_sys_id  id,
int *  atts 
)

References ET_NET_SYS_ATT.

Referenced by et_system_getattachments().

int etr_system_getattsmax ( et_sys_id  id,
int *  attsmax 
)

References ET_NET_SYS_ATTMAX.

Referenced by et_system_getattsmax().

int etr_system_getgroupcount ( et_sys_id  id,
int *  groupCnt 
)

References ET_NET_SYS_GRP.

Referenced by et_system_setgroup().

int etr_system_getheartbeat ( et_sys_id  id,
int *  heartbeat 
)

References ET_NET_SYS_HBEAT.

Referenced by et_system_getheartbeat().

int etr_system_getpid ( et_sys_id  id,
int *  pid 
)

References ET_NET_SYS_PID.

Referenced by et_system_getpid().

int etr_system_getprocs ( et_sys_id  id,
int *  procs 
)

References ET_NET_SYS_PROC.

Referenced by et_system_getprocs().

int etr_system_getprocsmax ( et_sys_id  id,
int *  procsmax 
)

References ET_NET_SYS_PROCMAX.

Referenced by et_system_getprocsmax().

int etr_system_getstations ( et_sys_id  id,
int *  stations 
)

References ET_NET_SYS_STAT.

Referenced by et_system_getstations().

int etr_system_getstationsmax ( et_sys_id  id,
int *  stationsmax 
)

References ET_NET_SYS_STATMAX.

Referenced by et_system_getstationsmax().

int etr_system_gettemps ( et_sys_id  id,
int *  temps 
)

References ET_NET_SYS_TMP.

Referenced by et_system_gettemps().

int etr_system_gettempsmax ( et_sys_id  id,
int *  tempsmax 
)

References ET_NET_SYS_TMPMAX.

Referenced by et_system_gettempsmax().