Linuxpops  3.01.04
Spectral Anaysis Package for Single Dish Data
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
mbdef.h
Go to the documentation of this file.
1 /*
2  * structure of mailboxdefs file
3  *
4  * used by tcpmg.c and io.c of rambo
5  */
6 
7 /* every destination has a port # as defined by the mailboxdefs file */
8 
9 #define MAXPORT 10
10 #define MAXNAME 30
11 #define MAXDEST 256
12 
13 struct DEST {
14  int dport; /* Port number */
15  char host[MAXNAME]; /* Computer that owns this mailbox */
16  char dname[MAXNAME]; /* Mailbox name */
17  short raw; /* Non-zero if this is a `raw' socket */
18 };
19 
20 struct DEST *find_dest();
21 struct DEST *find_port();
char host[MAXNAME]
Definition: mbdef.h:15
char dname[MAXNAME]
Definition: mbdef.h:16
#define MAXNAME
Definition: mbdef.h:10
Definition: mbdef.h:13
struct DEST * find_dest(char *name)
short raw
Definition: mbdef.h:17
struct DEST * find_port(int p)
int dport
Definition: mbdef.h:14