nfs-ganesha 1.4
Classes | Defines | Typedefs | Enumerations | Functions

nsm.h File Reference

#include "config.h"
#include "ganesha_rpc.h"
#include "sal_data.h"

Go to the source code of this file.

Classes

struct  sm_stat_res
struct  sm_stat
struct  my_id
struct  mon_id
struct  mon

Defines

#define SM_MAXSTRLEN   1024
#define SM_PROG   100024
#define SM_VERS   1
#define SM_MON   2
#define SM_UNMON   3
#define SM_UNMON_ALL   4

Typedefs

typedef enum res res
typedef struct sm_stat_res sm_stat_res
typedef struct sm_stat sm_stat
typedef struct my_id my_id
typedef struct mon_id mon_id
typedef struct mon mon

Enumerations

enum  res { STAT_SUCC = 0, STAT_FAIL = 1 }

Functions

bool_t nsm_monitor (state_nsm_client_t *host)
bool_t nsm_unmonitor (state_nsm_client_t *host)
void nsm_unmonitor_all (void)
bool_t xdr_res ()
bool_t xdr_sm_stat_res ()
bool_t xdr_sm_stat ()
bool_t xdr_my_id ()
bool_t xdr_mon_id ()
bool_t xdr_mon ()

Define Documentation

#define SM_MAXSTRLEN   1024

Definition at line 18 of file nsm.h.

#define SM_MON   2

Definition at line 21 of file nsm.h.

#define SM_PROG   100024

Definition at line 19 of file nsm.h.

#define SM_UNMON   3

Definition at line 22 of file nsm.h.

#define SM_UNMON_ALL   4

Definition at line 23 of file nsm.h.

#define SM_VERS   1

Definition at line 20 of file nsm.h.


Typedef Documentation

typedef struct mon mon

Definition at line 66 of file nsm.h.

typedef struct mon_id mon_id

Definition at line 59 of file nsm.h.

typedef struct my_id my_id

Definition at line 52 of file nsm.h.

typedef enum res res

Definition at line 30 of file nsm.h.

typedef struct sm_stat sm_stat

Definition at line 43 of file nsm.h.

typedef struct sm_stat_res sm_stat_res

Definition at line 37 of file nsm.h.


Enumeration Type Documentation

enum res
Enumerator:
STAT_SUCC 
STAT_FAIL 

Definition at line 25 of file nsm.h.


Function Documentation

bool_t nsm_monitor ( state_nsm_client_t *  host)

Definition at line 80 of file nsm.c.

bool_t nsm_unmonitor ( state_nsm_client_t *  host)

Definition at line 154 of file nsm.c.

void nsm_unmonitor_all ( void  )

Definition at line 215 of file nsm.c.

bool_t xdr_mon ( )
bool_t xdr_mon_id ( )
bool_t xdr_my_id ( )
bool_t xdr_res ( )
bool_t xdr_sm_stat ( )
bool_t xdr_sm_stat_res ( )