]>
Commit | Line | Data |
---|---|---|
7ac48069 | 1 | /* $Id$ |
6e6374cb | 2 | * |
7ac48069 | 3 | * Copyright (C) 1987-1998 by the Massachusetts Institute of Technology |
6e6374cb | 4 | * |
6e6374cb | 5 | */ |
6 | ||
7 | #define UREG_VERIFY_USER 0 | |
8 | #define UREG_RESERVE_LOGIN 1 | |
9 | #define UREG_SET_PASSWORD 2 | |
f817ff86 | 10 | #define UREG_SET_IDENT 3 |
11 | #define UREG_GET_KRB 4 | |
1107ee91 | 12 | #define UREG_GET_SECURE 5 |
13 | #define UREG_SET_SECURE 6 | |
fc55b70d | 14 | |
7ac48069 | 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 |