GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> FMX / V4-0-10 > fmxshr / linux-gcc
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include "mysql.h"
#include "FMX/FMX_msgs.h"
#include "MDB/MDB_pubdefs.h"
#include "FMX_prvdefs.h"
Functions | |
unsigned int | FMX_commit (FMX_Connection *ucb) |
Commit a SQL transaction. | |
unsigned int | FMX_makeVisible (FMX_Connection *ucb, const char *rel) |
Ensure that a file rele reported by FMX is visible. | |
unsigned int | FMX_rollback (FMX_Connection *ucb) |
Rollback a SQL transaction. |
CVS $Id: FMX_utility.c,v 1.1 2006/09/29 23:20:24 apw Exp $
unsigned int FMX_commit | ( | FMX_Connection * | ucb | ) |
Commit a SQL transaction.
ucb | (in) Connection handle |
FMX_COMTFAIL | SQL "commit" failed | |
FMX_SUCCESS | Success | |
FMX_UCBNOT | Invalid connection block |
unsigned int FMX_makeVisible | ( | FMX_Connection * | ucb, | |
const char * | rel | |||
) |
Ensure that a file rele reported by FMX is visible.
ucb | (in) Connection handle | |
rel | (in) Name of visible file (FMX_C_FDB relative) |
FMX_SUCCESS | Success | |
FMX_UCBNOT | Invalid connection block |
unsigned int FMX_rollback | ( | FMX_Connection * | ucb | ) |
Rollback a SQL transaction.
ucb | (in) Connection handle |
FMX_ROLLFAIL | SQL "rollback" failed | |
FMX_SUCCESS | Success | |
FMX_UCBNOT | Invalid connection block |