]>
Commit | Line | Data |
---|---|---|
1 | /* $Id$ | |
2 | * | |
3 | * Copyright (C) 1987-1998 by the Massachusetts Institute of Technology | |
4 | * | |
5 | */ | |
6 | ||
7 | #define UREG_VERIFY_USER 0 | |
8 | #define UREG_RESERVE_LOGIN 1 | |
9 | #define UREG_SET_PASSWORD 2 | |
10 | #define UREG_SET_IDENT 3 | |
11 | #define UREG_GET_KRB 4 | |
12 | #define UREG_GET_SECURE 5 | |
13 | #define UREG_SET_SECURE 6 | |
14 | ||
15 | typedef unsigned long U_32BIT; | |
16 | ||
17 | #ifndef REG_SVR | |
18 | /* (client) prototypes from reg_stubs.c */ | |
19 | int ureg_init(void); | |
20 | int verify_user(char *first, char *last, char *idnumber, | |
21 | char *hashidnumber, char *login); | |
22 | int grab_login(char *first, char *last, char *idnumber, char *hashidnumber, | |
23 | char *login); | |
24 | int enroll_login(char *first, char *last, char *idnumber, char *hashidnumber, | |
25 | char *login); | |
26 | int set_password(char *first, char *last, char *idnumber, char *hashidnumber, | |
27 | char *password); | |
28 | int get_krb(char *first, char *last, char *idnumber, char *hashidnumber, | |
29 | char *password); | |
30 | #endif |