Annotation of libwww/Library/src/HTVMSUtils.h, revision 1.1.1.1
1.1 duns 1: /* VMS specific routines
2:
3: */
4:
5: #ifndef HTVMSUTIL_H
6: #define HTVMSUTIL_H
7:
8:
9: /* PUBLIC HTVMS_authSysPrv()
10: ** CHECKS IF THIS PROCESS IS AUTHORIZED TO ENABLE SYSPRV
11: ** ON ENTRY:
12: ** No arguments.
13: **
14: ** ON EXIT:
15: ** returns YES if SYSPRV is authorized
16: */
17: PUBLIC BOOL HTVMS_authSysPrv NOPARAMS;
18:
19:
20: /* PUBLIC HTVMS_enableSysPrv()
21: ** ENABLES SYSPRV
22: ** ON ENTRY:
23: ** No arguments.
24: **
25: ** ON EXIT:
26: **
27: */
28: PUBLIC void HTVMS_enableSysPrv NOPARAMS;
29:
30:
31: /* PUBLIC HTVMS_disableSysPrv()
32: ** DISABLES SYSPRV
33: ** ON ENTRY:
34: ** No arguments.
35: **
36: ** ON EXIT:
37: **
38: */
39: PUBLIC void HTVMS_disableSysPrv NOPARAMS;
40:
41: /* PUBLIC HTVMS_checkAccess()
42: ** CHECKS ACCESS TO FILE FOR CERTAIN USER
43: ** ON ENTRY:
44: ** FileName The file to be accessed
45: ** UserName Name of the user to check access for
46: **
47: ** ON EXIT:
48: ** returns YES if access is allowed
49: **
50: */
51: PUBLIC BOOL HTVMS_checkAccess PARAMS((
52: CONST char * FileName,
53: CONST char * UserName,
54: CONST char *Method));
55:
56:
57: /* PUBLIC HTVMS_wwwName()
58: ** CONVERTS VMS Name into WWW Name
59: ** ON ENTRY:
60: ** vmsname VMS file specification (NO NODE)
61: **
62: ** ON EXIT:
63: ** returns www file specification
64: **
65: ** EXAMPLES:
66: ** vmsname wwwname
67: ** DISK$USER disk$user
68: ** DISK$USER: /disk$user/
69: ** DISK$USER:[DUNS] /disk$user/duns
70: ** DISK$USER:[DUNS.ECHO] /disk$user/duns/echo
71: ** [DUNS] duns
72: ** [DUNS.ECHO] duns/echo
73: ** [DUNS.ECHO.-.TRANS] duns/echo/../trans
74: ** [DUNS.ECHO.--.TRANS] duns/echo/../../trans
75: ** [.DUNS] duns
76: ** [.DUNS.ECHO] duns/echo
77: ** [.DUNS.ECHO]TEST.COM duns/echo/test.com
78: ** TEST.COM test.com
79: **
80: **
81: */
82: PUBLIC char * HTVMS_wwwName PARAMS((
83: char * vmsname));
84:
85: /* PUBLIC HTVMS_name()
86: ** CONVERTS WWW name into a VMS name
87: ** ON ENTRY:
88: ** nn Node Name (optional)
89: ** fn WWW file name
90: **
91: ** ON EXIT:
92: ** returns vms file specification
93: **
94: ** Bug: Returns pointer to static -- non-reentrant
95: */
96: PUBLIC char * HTVMS_name PARAMS((
97: CONST char * nn,
98: CONST char * fn));
99:
100: #endif /* not HTVMSUTIL_H */
101: /*
102:
103: End of file HTVMSUtil.h. */
Webmaster