Back to index

glibc  2.9
Classes | Defines | Functions
files-rpc.c File Reference
#include <rpc/netdb.h>
#include "files-parse.c"

Go to the source code of this file.

Classes

struct  rpcent_data

Defines

#define ENTNAME   rpcent
#define DATABASE   "rpc"
#define TRAILING_LIST_MEMBER   r_aliases
#define TRAILING_LIST_SEPARATOR_P   isspace

Functions

 LINE_PARSER ("#", STRING_FIELD(result->r_name, isspace, 1);INT_FIELD(result->r_number, isspace, 1, 10,);)

Class Documentation

struct rpcent_data

Definition at line 26 of file files-rpc.c.


Define Documentation

#define DATABASE   "rpc"

Definition at line 24 of file files-rpc.c.

#define ENTNAME   rpcent

Definition at line 23 of file files-rpc.c.

#define TRAILING_LIST_MEMBER   r_aliases

Definition at line 28 of file files-rpc.c.

Definition at line 29 of file files-rpc.c.


Function Documentation

LINE_PARSER ( "#"  ,
STRING_FIELD(result->r_name, isspace, 1);INT_FIELD(result->r_number, isspace, 1, 10,);   
)

Definition at line 32 of file files-rpc.c.

          {
            if (result->r_number == number)
              break;
          }, int number)