Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – tendra.SVN – Blame – /branches/tendra5-amd64/src/lib/apis/svid3/netconfig.h – Rev 5

Subversion Repositories tendra.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 7u83 1
#   		 Crown Copyright (c) 1997
2
#   
3
#   This TenDRA(r) Computer Program is subject to Copyright
4
#   owned by the United Kingdom Secretary of State for Defence
5
#   acting through the Defence Evaluation and Research Agency
6
#   (DERA).  It is made available to Recipients with a
7
#   royalty-free licence for its use, reproduction, transfer
8
#   to other parties and amendment for any purpose not excluding
9
#   product development provided that any such use et cetera
10
#   shall be deemed to be acceptance of the following conditions:-
11
#   
12
#       (1) Its Recipients shall ensure that this Notice is
13
#       reproduced upon any copies or amended versions of it;
14
#   
15
#       (2) Any amended version of it shall be clearly marked to
16
#       show both the nature of and the organisation responsible
17
#       for the relevant amendment or amendments;
18
#   
19
#       (3) Its onward transfer from a recipient to another
20
#       party shall be deemed to be that party's acceptance of
21
#       these conditions;
22
#   
23
#       (4) DERA gives no warranty or assurance as to its
24
#       quality or suitability for any purpose and DERA accepts
25
#       no liability whatsoever in relation to any use to which
26
#       it may be put.
27
#
28
+USE "svid3", "", "config" ;
29
 
30
+IF %% __SYSV_REMOTE_SERVICES %%
31
 
32
/* The nc_proto and nc_protofmly fields are wrong in the book */
33
+FIELD struct netconfig {
34
    char *nc_netid ;
35
    unsigned long nc_semantics ;
36
    unsigned long nc_flag ;
37
    char *nc_proto ;
38
    char *nc_protofmly ;
39
    char *nc_device ;
40
    unsigned long nc_nlookups ;
41
    char **nc_lookups ;
42
} ;
43
 
44
+CONST int NC_TPI_COTS, NC_TPI_COTS_ORD, NC_TPI_CLTS ;
45
+CONST int NC_VISIBLE, NC_NOFLAG ;
46
 
47
+FUNC struct netconfig *getnetconfig ( void * ) ;
48
+FUNC void *setnetconfig ( void ) ;
49
+FUNC int endnetconfig ( void * ) ;
50
+FUNC struct netconfig *getnetconfigent ( char * ) ;
51
/* Error in book */
52
+FUNC void freenetconfigent ( struct netconfig * ) ;
53
+FUNC struct netconfig *getnetpath ( void * ) ;
54
+FUNC void *setnetpath ( void  ) ;
55
+FUNC int endnetpath ( void * ) ;
56
+FUNC void nc_perror ( char * ) ;
57
 
58
+ENDIF