Defines | Functions | Variables
csocket.h File Reference
#include "cphidget.h"
#include "cphidgetmanager.h"
#include "cphidgetdictionary.h"
#include "cphidgetsbc.h"
Include dependency graph for csocket.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define CLEAR_RUNNING_EVENT(phid)
#define SET_RUNNING_EVENT(phid)

Functions

PHIDGET21_API int CCONV CPhidget_openLabelRemote (CPhidgetHandle phid, const char *label, const char *serverID, const char *password)
PHIDGET21_API int CCONV CPhidget_openLabelRemoteIP (CPhidgetHandle phid, const char *label, const char *address, int port, const char *password)
PHIDGET21_API int CCONV CPhidget_openRemote (CPhidgetHandle phid, int serial, const char *serverID, const char *password)
PHIDGET21_API int CCONV CPhidget_openRemoteIP (CPhidgetHandle phid, int serial, const char *address, int port, const char *password)
PHIDGET21_API int CCONV CPhidgetDictionary_openRemote (CPhidgetDictionaryHandle dict, const char *serverID, const char *password)
PHIDGET21_API int CCONV CPhidgetDictionary_openRemoteIP (CPhidgetDictionaryHandle dict, const char *address, int port, const char *password)
PHIDGET21_API int CCONV CPhidgetManager_openRemote (CPhidgetManagerHandle phidm, const char *serverID, const char *password)
PHIDGET21_API int CCONV CPhidgetManager_openRemoteIP (CPhidgetManagerHandle phidm, const char *address, int port, const char *password)
int CCONV CPhidgetRemote_areEqual (void *arg1, void *arg2)
int CCONV CPhidgetRemote_create (CPhidgetRemoteHandle *arg)
void CCONV CPhidgetRemote_free (void *arg)
PHIDGET21_API int CCONV CPhidgetSocketClient_areEqual (void *arg1, void *arg2)
PHIDGET21_API int CCONV CPhidgetSocketClient_create (CPhidgetSocketClientHandle *arg)
PHIDGET21_API void CCONV CPhidgetSocketClient_free (void *arg)
CThread_func_return_t DisconnectPhidgetThreadFunction (CThread_func_arg_t lpdwParam)
int getZeroconfHostPort (CPhidgetRemoteHandle networkInfo)
void internal_async_network_error_handler (const char *error, void *phid)
int refreshZeroconfPhidget (CPhidgetHandle phid)
int refreshZeroconfSBC (CPhidgetSBCHandle sbc)
int unregisterRemoteDictionary (CPhidgetDictionaryHandle dict)
int unregisterRemoteManager (CPhidgetManagerHandle phidm)
int unregisterRemotePhidget (CPhidgetHandle phid)
int unregisterSBCManager (CPhidgetSBCManagerHandle sbcm)

Variables

CPhidgetDictionaryListHandle activeRemoteDictionaries
CThread_mutex_t activeRemoteDictionariesLock
CPhidgetManagerListHandle activeRemoteManagers
CThread_mutex_t activeRemoteManagersLock
CPhidgetListHandle activeRemotePhidgets
CThread_mutex_t activeRemotePhidgetsLock
CPhidgetSBCManagerListHandle activeSBCManagers
CThread_mutex_t activeSBCManagersLock
CThread_mutex_t serverLock
CThread_mutex_t zeroconfInitLock
CPhidgetListHandle zeroconfPhidgets
CThread_mutex_t zeroconfPhidgetsLock
CPhidgetSBCListHandle zeroconfSBCs
CThread_mutex_t zeroconfSBCsLock
CPhidgetRemoteListHandle zeroconfServers
CThread_mutex_t zeroconfServersLock

Define Documentation

#define CLEAR_RUNNING_EVENT (   phid)
Value:
CThread_mutex_lock(&phid->lock); \
        if(phid->networkInfo && phid->networkInfo->server) \
        { \
                setTimeNow(&phid->networkInfo->server->lastHeartbeatTime); \
                phid->networkInfo->server->runningEvent = PFALSE; \
        } \
        CThread_mutex_unlock(&phid->lock);

Definition at line 54 of file csocket.h.

#define SET_RUNNING_EVENT (   phid)
Value:
CThread_mutex_lock(&phid->lock); \
        if(phid->networkInfo && phid->networkInfo->server) \
                phid->networkInfo->server->runningEvent = PTRUE; \
        CThread_mutex_unlock(&phid->lock);

Definition at line 48 of file csocket.h.


Function Documentation

int CCONV CPhidgetRemote_areEqual ( void arg1,
void arg2 
)

Definition at line 276 of file csocketopen.c.

Definition at line 227 of file csocketopen.c.

Definition at line 248 of file csocketopen.c.

Definition at line 353 of file csocketopen.c.

Definition at line 313 of file csocketopen.c.

Definition at line 334 of file csocketopen.c.

Definition at line 1827 of file csocketopen.c.

Definition at line 785 of file zeroconf_avahi.c.

void internal_async_network_error_handler ( const char *  error,
void phid 
)

Definition at line 369 of file csocketopen.c.

Definition at line 835 of file zeroconf_avahi.c.

Definition at line 830 of file zeroconf_avahi.c.

Definition at line 1977 of file csocketopen.c.

Definition at line 1888 of file csocketopen.c.

Definition at line 1841 of file csocketopen.c.

Definition at line 2072 of file csocketopen.c.


Variable Documentation

Definition at line 116 of file csocketopen.c.

Definition at line 122 of file csocketopen.c.

Definition at line 114 of file csocketopen.c.

Definition at line 120 of file csocketopen.c.

Definition at line 113 of file csocketopen.c.

Definition at line 119 of file csocketopen.c.

Definition at line 115 of file csocketopen.c.

Definition at line 121 of file csocketopen.c.

Definition at line 98 of file csocketopen.c.

Definition at line 109 of file csocketopen.c.

Definition at line 16 of file csocket.h.

Definition at line 19 of file csocket.h.

Definition at line 103 of file csocketopen.c.

Definition at line 108 of file csocketopen.c.

Definition at line 101 of file csocketopen.c.

Definition at line 106 of file csocketopen.c.



pedal_monitor
Author(s): Pedro Mendes
autogenerated on Fri Jun 6 2014 18:37:21