-
Notifications
You must be signed in to change notification settings - Fork 1
/
env.h
32 lines (27 loc) · 1.03 KB
/
env.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* env.h
*/
/* This software is copyrighted as detailed in the LICENSE file. */
EXT char* homedir INIT(NULL); /* login directory */
EXT char* dotdir INIT(NULL); /* where . files go */
EXT char* trndir INIT(NULL); /* usually %./.trn */
EXT char* lib INIT(NULL); /* news library */
EXT char* rnlib INIT(NULL); /* private news program library */
EXT char* tmpdir INIT(NULL); /* where tmp files go */
EXT char* loginName INIT(NULL); /* login id of user */
EXT char* realName INIT(NULL); /* real name of user */
EXT char* phostname INIT(NULL); /* host name in a posting */
EXT char* localhost INIT(NULL); /* local host name */
#ifdef SUPPORT_NNTP
EXT int netspeed INIT(20); /* how fast our net-connection is */
#endif
/* DON'T EDIT BELOW THIS LINE OR YOUR CHANGES WILL BE LOST! */
bool env_init _((char*,bool_int));
bool setusername _((char*));
bool setphostname _((char*));
char* getval _((char*,char*));
char* export _((char*,char*));
void un_export _((char*));
void re_export _((char*,char*,int));
#ifdef MSDOS
char* GetEnv _((char*));
#endif