ET System  16.5
All Data Structures Files Functions Variables Typedefs Macros Modules 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

◆ etr_alive()

◆ etr_attach_geteventsdump()

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

Referenced by et_attach_geteventsdump().

◆ etr_attach_geteventsget()

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

Referenced by et_attach_geteventsget().

◆ etr_attach_geteventsmake()

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

Referenced by et_attach_geteventsmake().

◆ etr_attach_geteventsput()

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

Referenced by et_attach_geteventsput().

◆ 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()

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().

◆ etr_station_create_at()

◆ etr_station_detach()

◆ etr_station_exists()

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

◆ etr_station_getattachments()

int etr_station_getattachments ( et_sys_id  id,
et_stat_id  stat_id,
int *  numatts 
)

◆ etr_station_getblock()

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

Referenced by et_station_getblock().

◆ etr_station_getclass()

◆ etr_station_getcue()

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

Referenced by et_station_getcue().

◆ etr_station_getfunction()

◆ etr_station_getinputcount()

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

◆ etr_station_getlib()

◆ etr_station_getoutputcount()

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

◆ etr_station_getposition()

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

◆ etr_station_getprescale()

int etr_station_getprescale ( et_sys_id  id,
et_stat_id  stat_id,
int *  prescale 
)

Referenced by et_station_getprescale().

◆ etr_station_getrestore()

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

Referenced by et_station_getrestore().

◆ etr_station_getselect()

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

Referenced by et_station_getselect().

◆ etr_station_getselectwords()

◆ etr_station_getstatus()

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

Referenced by et_station_getstatus().

◆ etr_station_getuser()

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

Referenced by et_station_getuser().

◆ etr_station_isattached()

◆ etr_station_remove()

◆ etr_station_setblock()

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

Referenced by et_station_setblock().

◆ etr_station_setcue()

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

Referenced by et_station_setcue().

◆ etr_station_setposition()

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

◆ etr_station_setprescale()

int etr_station_setprescale ( et_sys_id  id,
et_stat_id  stat_id,
int  prescale 
)

Referenced by et_station_setprescale().

◆ etr_station_setrestore()

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

Referenced by et_station_setrestore().

◆ etr_station_setselectwords()

◆ etr_station_setuser()

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

Referenced by et_station_setuser().

◆ etr_system_getattachments()

int etr_system_getattachments ( et_sys_id  id,
int *  atts 
)

◆ etr_system_getattsmax()

int etr_system_getattsmax ( et_sys_id  id,
int *  attsmax 
)

Referenced by et_system_getattsmax().

◆ etr_system_getgroupcount()

int etr_system_getgroupcount ( et_sys_id  id,
int *  groupCnt 
)

Referenced by et_system_setgroup().

◆ etr_system_getheartbeat()

int etr_system_getheartbeat ( et_sys_id  id,
int *  heartbeat 
)

Referenced by et_system_getheartbeat().

◆ etr_system_getpid()

int etr_system_getpid ( et_sys_id  id,
int *  pid 
)

Referenced by et_system_getpid().

◆ etr_system_getprocs()

int etr_system_getprocs ( et_sys_id  id,
int *  procs 
)

Referenced by et_system_getprocs().

◆ etr_system_getprocsmax()

int etr_system_getprocsmax ( et_sys_id  id,
int *  procsmax 
)

Referenced by et_system_getprocsmax().

◆ etr_system_getstations()

int etr_system_getstations ( et_sys_id  id,
int *  stations 
)

Referenced by et_system_getstations().

◆ etr_system_getstationsmax()

int etr_system_getstationsmax ( et_sys_id  id,
int *  stationsmax 
)

◆ etr_system_gettemps()

int etr_system_gettemps ( et_sys_id  id,
int *  temps 
)

Referenced by et_system_gettemps().

◆ etr_system_gettempsmax()

int etr_system_gettempsmax ( et_sys_id  id,
int *  tempsmax 
)

Referenced by et_system_gettempsmax().

◆ etr_wait_for_alive()

◆ etr_wakeup_all()

◆ etr_wakeup_attachment()