Free Electron
Macros | Functions | Variables
nethostExtern.cc File Reference
#include <networkhost/networkhost.pmh>
Include dependency graph for nethostExtern.cc:

Macros

#define FE_NETHOST_EXTERN_STRING_MAX   8196
 

Functions

char * strndup (const char *s, size_t n)
 
sp< StateCatalogfe_nethost_lookup_space (int a_spaceIndex)
 
sp< StateCatalog::Snapshotfe_nethost_lookup_snapshot (int a_snapshotIndex)
 
FE_DL_EXPORT int fe_nethost_execute (int a_output_size, char *a_output, const char *a_input)
 
FE_DL_EXPORT int fe_nethost_acquire (void)
 
FE_DL_EXPORT int fe_nethost_release (void)
 
FE_DL_EXPORT int fe_nethost_access_space (char *a_space_name, char *a_implementation)
 
FE_DL_EXPORT int fe_nethost_space_start (int a_spaceIndex)
 
FE_DL_EXPORT int fe_nethost_space_stop (int a_spaceIndex)
 
FE_DL_EXPORT int fe_nethost_space_wait_for_connection (int a_spaceIndex)
 
FE_DL_EXPORT int fe_nethost_space_flush (int a_spaceIndex)
 
FE_DL_EXPORT int fe_nethost_space_wait_for_update (int a_spaceIndex, int *a_pFlushCount, int *a_pSpins)
 
FE_DL_EXPORT int fe_nethost_space_lock_after_update (int a_spaceIndex, int *a_pFlushCount, int *a_pSpins)
 
FE_DL_EXPORT int fe_nethost_space_lock (int a_spaceIndex)
 
FE_DL_EXPORT int fe_nethost_space_unlock (int a_spaceIndex)
 
FE_DL_EXPORT int fe_nethost_space_set_state_bools (int a_spaceIndex, char *a_key_name, char *a_property, bool *a_value, int a_count)
 
FE_DL_EXPORT int fe_nethost_space_get_state_bools (int a_spaceIndex, char *a_key_name, char *a_property, bool *a_value, int a_count, bool a_safe)
 
FE_DL_EXPORT int fe_nethost_space_set_state_ints (int a_spaceIndex, char *a_key_name, char *a_property, int *a_value, int a_count)
 
FE_DL_EXPORT int fe_nethost_space_get_state_ints (int a_spaceIndex, char *a_key_name, char *a_property, int *a_value, int a_count, bool a_safe)
 
FE_DL_EXPORT int fe_nethost_space_set_state_floats (int a_spaceIndex, char *a_key_name, char *a_property, float *a_value, int a_count)
 
FE_DL_EXPORT int fe_nethost_space_get_state_floats (int a_spaceIndex, char *a_key_name, char *a_property, float *a_value, int a_count, bool a_safe)
 
FE_DL_EXPORT int fe_nethost_space_set_state_string (int a_spaceIndex, char *a_key_name, char *a_property, char *a_value)
 
FE_DL_EXPORT char * fe_nethost_space_get_state_string (int a_spaceIndex, char *a_key_name, char *a_property, bool a_safe)
 
FE_DL_EXPORT int fe_nethost_space_set_state_bytes (int a_spaceIndex, char *a_key_name, char *a_property, U8 *a_value, int a_size)
 
FE_DL_EXPORT U8 * fe_nethost_space_get_state_bytes (int a_spaceIndex, char *a_key_name, char *a_property, bool a_safe, int *a_pBytesRead)
 
FE_DL_EXPORT int fe_nethost_space_send_message_string (int a_spaceIndex, char *a_key_name, char *a_value)
 
FE_DL_EXPORT char * fe_nethost_space_next_message_string (int a_spaceIndex, char *a_key_name)
 
FE_DL_EXPORT int fe_nethost_snapshot_acquire (int a_spaceIndex)
 
FE_DL_EXPORT int fe_nethost_snapshot_release (int a_snapshotIndex)
 
FE_DL_EXPORT int fe_nethost_snapshot_get_flush_count (int a_snapshotIndex)
 
FE_DL_EXPORT int fe_nethost_snapshot_get_serial (int a_snapshotIndex)
 
FE_DL_EXPORT int fe_nethost_snapshot_get_state_bools (int a_snapshotIndex, char *a_key_name, char *a_property, bool *a_value, int a_count)
 
FE_DL_EXPORT int fe_nethost_snapshot_get_state_ints (int a_snapshotIndex, char *a_key_name, char *a_property, int *a_value, int a_count)
 
FE_DL_EXPORT int fe_nethost_snapshot_get_state_floats (int a_snapshotIndex, char *a_key_name, char *a_property, float *a_value, int a_count)
 
FE_DL_EXPORT U8 * fe_nethost_snapshot_get_state_bytes (int a_snapshotIndex, char *a_key_name, char *a_property, int *a_pBytesRead)
 
FE_DL_EXPORT char * fe_nethost_snapshot_get_state_string (int a_snapshotIndex, char *a_key_name, char *a_property)
 
FE_DL_EXPORT int fe_nethost_free_string (char *a_buffer)
 

Variables

static sp< NetHostgs_spNetHost
 
static int gs_netHostCount =0
 
static Array< sp< StateCatalog > > gs_spaces
 
static Array< sp< StateCatalog::Snapshot > > gs_snapshots
 
static Array< I32 > gs_snapshotCount