File: ugid.x

package info (click to toggle)
netstd 3.07-7slink.3
  • links: PTS
  • area: main
  • in suites: slink
  • size: 6,312 kB
  • ctags: 9,027
  • sloc: ansic: 72,107; cpp: 6,144; makefile: 1,650; yacc: 1,614; sh: 1,164; perl: 308; awk: 46
file content (17 lines) | stat: -rw-r--r-- 328 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

%#include <rpc/rpc.h>

const MAXUGLEN = 64;
const NOBODY = -2;
const WILDCARD = -1;
typedef string ugname<MAXUGLEN>;

program UGIDPROG {
    version UGIDVERS {
	int AUTHENTICATE(int) = 1;
	int NAME_UID(ugname) = 2;
	int GROUP_GID(ugname) = 3;
	ugname UID_NAME(int) = 4; 
	ugname GID_GROUP(int) = 5; 
    } = 1;
} = 0x2084e581;