The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/nlm/sm_inter.h

Version: -  FREEBSD  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-2  -  FREEBSD-11-1  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-4  -  FREEBSD-10-3  -  FREEBSD-10-2  -  FREEBSD-10-1  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-3  -  FREEBSD-9-2  -  FREEBSD-9-1  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-4  -  FREEBSD-8-3  -  FREEBSD-8-2  -  FREEBSD-8-1  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-4  -  FREEBSD-7-3  -  FREEBSD-7-2  -  FREEBSD-7-1  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-4  -  FREEBSD-6-3  -  FREEBSD-6-2  -  FREEBSD-6-1  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-5  -  FREEBSD-5-4  -  FREEBSD-5-3  -  FREEBSD-5-2  -  FREEBSD-5-1  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  linux-2.6  -  linux-2.4.22  -  MK83  -  MK84  -  PLAN9  -  DFBSD  -  NETBSD  -  NETBSD5  -  NETBSD4  -  NETBSD3  -  NETBSD20  -  OPENBSD  -  xnu-517  -  xnu-792  -  xnu-792.6.70  -  xnu-1228  -  xnu-1456.1.26  -  xnu-1699.24.8  -  xnu-2050.18.24  -  OPENSOLARIS  -  minix-3-1-1 
SearchContext: -  none  -  3  -  10 

    1 /*
    2  * Please do not edit this file.
    3  * It was generated using rpcgen.
    4  */
    5 /* $FreeBSD: releng/10.1/sys/nlm/sm_inter.h 177633 2008-03-26 15:23:12Z dfr $ */
    6 
    7 #ifndef _SM_INTER_H_RPCGEN
    8 #define _SM_INTER_H_RPCGEN
    9 
   10 #include <rpc/rpc.h>
   11 
   12 #ifdef __cplusplus
   13 extern "C" {
   14 #endif
   15 
   16 #define SM_MAXSTRLEN 1024
   17 
   18 struct sm_name {
   19         char *mon_name;
   20 };
   21 typedef struct sm_name sm_name;
   22 
   23 struct my_id {
   24         char *my_name;
   25         int my_prog;
   26         int my_vers;
   27         int my_proc;
   28 };
   29 typedef struct my_id my_id;
   30 
   31 struct mon_id {
   32         char *mon_name;
   33         struct my_id my_id;
   34 };
   35 typedef struct mon_id mon_id;
   36 
   37 struct mon {
   38         struct mon_id mon_id;
   39         char priv[16];
   40 };
   41 typedef struct mon mon;
   42 
   43 struct stat_chge {
   44         char *mon_name;
   45         int state;
   46 };
   47 typedef struct stat_chge stat_chge;
   48 
   49 struct sm_stat {
   50         int state;
   51 };
   52 typedef struct sm_stat sm_stat;
   53 
   54 enum sm_res {
   55         stat_succ = 0,
   56         stat_fail = 1
   57 };
   58 typedef enum sm_res sm_res;
   59 
   60 struct sm_stat_res {
   61         sm_res res_stat;
   62         int state;
   63 };
   64 typedef struct sm_stat_res sm_stat_res;
   65 
   66 struct sm_status {
   67         char *mon_name;
   68         int state;
   69         char priv[16];
   70 };
   71 typedef struct sm_status sm_status;
   72 
   73 #define SM_PROG ((unsigned long)(100024))
   74 #define SM_VERS ((unsigned long)(1))
   75 
   76 extern  void sm_prog_1(struct svc_req *rqstp, SVCXPRT *transp);
   77 #define SM_STAT ((unsigned long)(1))
   78 extern  struct sm_stat_res * sm_stat_1(struct sm_name *, CLIENT *);
   79 extern  struct sm_stat_res * sm_stat_1_svc(struct sm_name *, struct svc_req *);
   80 #define SM_MON ((unsigned long)(2))
   81 extern  struct sm_stat_res * sm_mon_1(struct mon *, CLIENT *);
   82 extern  struct sm_stat_res * sm_mon_1_svc(struct mon *, struct svc_req *);
   83 #define SM_UNMON ((unsigned long)(3))
   84 extern  struct sm_stat * sm_unmon_1(struct mon_id *, CLIENT *);
   85 extern  struct sm_stat * sm_unmon_1_svc(struct mon_id *, struct svc_req *);
   86 #define SM_UNMON_ALL ((unsigned long)(4))
   87 extern  struct sm_stat * sm_unmon_all_1(struct my_id *, CLIENT *);
   88 extern  struct sm_stat * sm_unmon_all_1_svc(struct my_id *, struct svc_req *);
   89 #define SM_SIMU_CRASH ((unsigned long)(5))
   90 extern  void * sm_simu_crash_1(void *, CLIENT *);
   91 extern  void * sm_simu_crash_1_svc(void *, struct svc_req *);
   92 #define SM_NOTIFY ((unsigned long)(6))
   93 extern  void * sm_notify_1(struct stat_chge *, CLIENT *);
   94 extern  void * sm_notify_1_svc(struct stat_chge *, struct svc_req *);
   95 extern int sm_prog_1_freeresult(SVCXPRT *, xdrproc_t, caddr_t);
   96 
   97 /* the xdr functions */
   98 extern  bool_t xdr_sm_name(XDR *, sm_name*);
   99 extern  bool_t xdr_my_id(XDR *, my_id*);
  100 extern  bool_t xdr_mon_id(XDR *, mon_id*);
  101 extern  bool_t xdr_mon(XDR *, mon*);
  102 extern  bool_t xdr_stat_chge(XDR *, stat_chge*);
  103 extern  bool_t xdr_sm_stat(XDR *, sm_stat*);
  104 extern  bool_t xdr_sm_res(XDR *, sm_res*);
  105 extern  bool_t xdr_sm_stat_res(XDR *, sm_stat_res*);
  106 extern  bool_t xdr_sm_status(XDR *, sm_status*);
  107 
  108 #ifdef __cplusplus
  109 }
  110 #endif
  111 
  112 #endif /* !_SM_INTER_H_RPCGEN */

Cache object: 4cf9f3b46655d2d6f8bbf8a667b1a2fa


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.