GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > FMX / V3-2-4
Constituent: fmxshr     Tag: linux-gcc
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
#include "mysql.h"
#include "FMX/FMX_msgs.h"
#include "FMX/FMX_pubdefs.h"
#include "MDB/MDB_pubdefs.h"
#include "FMX_prvdefs.h"
Include dependency graph for FMX_enum.c:
Data Structures | |
struct | _FMX_LoadEnum |
Enumeration specific load instructions. More... | |
Typedefs | |
typedef unsigned int | FMX_cb_LoadEnum (FMX_Connection *ucb, FMX_EnumTableList tbl, MYSQL_RES *result) |
Signature for a routine to load an enumeration table. | |
typedef _FMX_LoadEnum | FMX_LoadEnum |
Typedef for struct _FMX_LoadEnum. | |
Functions | |
static unsigned int | loadDevice (FMX_Connection *ucb, FMX_EnumTableList tbl, MYSQL_RES *result) |
Load a device enumeration table into memory. | |
static unsigned int | loadFiletype (FMX_Connection *ucb, FMX_EnumTableList tbl, MYSQL_RES *result) |
Load a filetype enumeration table into memory. | |
static unsigned int | loadHost (FMX_Connection *ucb, FMX_EnumTableList tbl, MYSQL_RES *result) |
Load a host enumeration table into memory. | |
static unsigned int | loadInstrument (FMX_Connection *ucb, FMX_EnumTableList tbl, MYSQL_RES *result) |
Load an instrument enumeration table into memory. | |
static unsigned int | loadNode (FMX_Connection *ucb, FMX_EnumTableList tbl, MYSQL_RES *result) |
Load a node enumeration table into memory. | |
static unsigned int | loadTag (FMX_Connection *ucb, FMX_EnumTableList tbl, MYSQL_RES *result) |
Load a tag enumeration table into memory. | |
unsigned int | FMX_findEnumByIndex (FMX_Connection *ucb, FMX_EnumTableList tbl, unsigned int index, FMX_EnumTable **num) |
Return a pointer to an FMX_Device. | |
unsigned int | FMX_findEnumByName (FMX_Connection *ucb, FMX_EnumTableList tbl, const char *name, FMX_EnumTable **num) |
Return a pointer to an FMX_Device. | |
void | FMX_freeEnumTable (FMX_Connection *ucb, FMX_EnumTableList tbl) |
Free an enumeration table. | |
unsigned int | FMX_loadEnumTable (FMX_Connection *ucb, FMX_EnumTableList tbl) |
Load an enumeration table into memory. | |
Variables | |
FMX_LoadEnum | loadEnum [FMX_L_ENUM_TABLES] |
CVS $Id: FMX_enum.c,v 1.1 2006/09/29 23:20:22 apw Exp $
|
Return a pointer to an FMX_Device.
|
|
Return a pointer to an FMX_Device.
|
|
Free an enumeration table.
|
|
Load an enumeration table into memory.
|
|
Load a device enumeration table into memory.
|
|
Load a filetype enumeration table into memory.
|
|
Load a host enumeration table into memory.
|
|
Load an instrument enumeration table into memory.
|
|
Load a node enumeration table into memory.
|
|
Load a tag enumeration table into memory.
|
|
Initial value: { { "device, name, type, board", "device", &loadDevice }, { "filetype, name, directory, member, comment", "filetype", &loadFiletype }, { "host, name, master, proxy, port", "host", &loadHost }, { "instrument, name, towers, host, location, comment", "instrument", &loadInstrument }, { "node, name, address", "node", &loadNode }, { "tag, name, vxworks", "tag", &loadTag } } |