File: env.h

package info (click to toggle)
trn4 4.0-test77-18
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid, trixie
  • size: 4,016 kB
  • sloc: ansic: 48,332; sh: 6,795; tcl: 1,696; yacc: 662; perl: 108; makefile: 26
file content (32 lines) | stat: -rw-r--r-- 1,058 bytes parent folder | download | duplicates (11)
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