# 2.11BSD#431 - /usr/src/new/nntp/xmit/get_tcp_conn.h

##### Macros

    FAIL              X
    IPPORT_NNTP       X
    NOHOST            X
    NONETDB           X
    NOSERVICE         X
    NULL              X
    OLDSOCKET         X
    u_long            X
    u_short           X

       1: /*
       2: ** Return codes from get_tcp_conn().
       3: */
       4: #ifndef FAIL
       5: #define FAIL        (-1)        /* routine failed */
       6: #endif
       7: #define NOHOST      (FAIL-1)    /* no such host */
       8: #define NOSERVICE   (FAIL-2)    /* no such service */
       9:
      10: #ifndef NULL
      11: #define NULL    0
      12: #endif
      13:
      14: #ifdef USG  /* brain-dead USG compilers can't deal with typedef */
      15: #define u_long  unsigned long
      16: #define u_short unsigned short
      17: #endif
      18:
      19: #ifdef  EXCELAN
      20: #define NONETDB
      21: #define OLDSOCKET
      22: #endif
      23:
      24: #ifdef  NONETDB
      25: #define IPPORT_NNTP 119     /* NNTP is on TCP port 119 */
      26: #endif	NONETDB

#### Defined macros

FAIL defined in line 5; used 21 times

- in line 4-8(3)
- in /usr/src/new/nntp/xmit/get_tcp_conn.c line 198, 302-307(2), 320
- in /usr/src/new/nntp/xmit/remote.c line 84, 95, 106, 119, 135, 188, 201-209(3), 217, 225, 234, 242, 253

IPPORT_NNTP defined in line 25; used 1 times

- in /usr/src/new/nntp/xmit/get_tcp_conn.c line 231

NOHOST defined in line 7; used 2 times

- in /usr/src/new/nntp/xmit/get_tcp_conn.c line 289
- in /usr/src/new/nntp/xmit/remote.c line 178

NONETDB defined in line 20; used 6 times

- in line 24
- in /usr/src/new/nntp/xmit/get_tcp_conn.c line 22, 32, 194, 226, 252

NOSERVICE defined in line 8; used 2 times

- in /usr/src/new/nntp/xmit/get_tcp_conn.c line 294
- in /usr/src/new/nntp/xmit/remote.c line 181

NULL defined in line 11; used 33 times

- in line 10
- in /usr/src/new/nntp/xmit/get_tcp_conn.c line 164-169(3), 199-205(3), 246(2), 263, 288, 296-301(2)
- in /usr/src/new/nntp/xmit/remote.c line 63, 83, 94, 220, 228-232(2), 255, 279-281(2), 308-309(3), 323, 348-352(5), 363, 391

OLDSOCKET defined in line 21; used 2 times

- in /usr/src/new/nntp/xmit/get_tcp_conn.c line 281, 300

u_long defined in line 15; never used
u_short defined in line 16; never used

#### Usage of this include

get_tcp_conn.h used 2 times

- in /usr/src/new/nntp/xmit/get_tcp_conn.c line 21
- in /usr/src/new/nntp/xmit/remote.c line 42

Last modified: 1987-12-08 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 968 |