nfs-ganesha 1.4
Functions

posixdb_connect.c File Reference

#include "posixdb_internal.h"
#include <ctype.h>
#include <string.h>
#include "abstract_mem.h"

Go to the source code of this file.

Functions

fsal_posixdb_status_t fsal_posixdb_initPreparedQueries (fsal_posixdb_conn *p_conn)
fsal_posixdb_status_t fsal_posixdb_connect (fsal_posixdb_conn_params_t *dbparams, fsal_posixdb_conn **p_conn)
fsal_posixdb_status_t fsal_posixdb_disconnect (fsal_posixdb_conn *p_conn)

Function Documentation

fsal_posixdb_status_t fsal_posixdb_connect ( fsal_posixdb_conn_params_t dbparams,
fsal_posixdb_conn **  p_conn 
)

connection to database

Definition at line 45 of file MYSQL/posixdb_connect.c.

fsal_posixdb_status_t fsal_posixdb_disconnect ( fsal_posixdb_conn *  p_conn)

fsal_posixdb_disconnect: Disconnect from the Database.

Parameters:
conn(input) Connection to the database
Returns:
- FSAL_POSIXDB_NOERR, if no error. Another error code else.

Definition at line 126 of file MYSQL/posixdb_connect.c.

fsal_posixdb_status_t fsal_posixdb_initPreparedQueries ( fsal_posixdb_conn *  p_conn)

fsal_posixdb_initPreparedQueries: setup the prepared queries for a new connection

Parameters:
p_conn(input) Connection to the database
Returns:
- ERR_FSAL_POSIXDB_NOERR, if no error. Another error code else.

Definition at line 133 of file MYSQL/posixdb_connect.c.