2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
11 * Interface to the basic procedures for the AFS user account
15 #ifndef _USS_PTSERVER_H_
16 #define _USS_PTSERVER_H_ 1
19 * --------------------- Required definitions ---------------------
21 #include "uss_common.h" /*Commons uss definitions*/
25 * ------------------------ Exported functions -----------------------
27 extern afs_int32 uss_ptserver_AddUser();
30 * Register the given user with the Protection Server.
33 * char *a_user : Name of the user to register.
34 * char *a_uid : Points to the uid registered for the named user.
37 * 0 if everything went well,
38 * PRIDEXIST if the chosen uid already exists, or
39 * Code returned from a lower-level call.
42 extern afs_int32 uss_ptserver_DelUser();
45 * Delete the given user from the Protection Server.
48 * char *a_name : User name to delete.
51 * 0 if everything went well, or
52 * Code returned from a lower-level call.
55 extern afs_int32 uss_ptserver_XlateUser();
58 * Ask the Protection Server to translate the given user
59 * name to its corresponding AFS uid.
62 * char *a_user : Name of the user to translate.
63 * afs_int32 *a_uidP : Points to the uid registered for the named user.
66 * 0 if everything went well,
67 * Code returned from a lower-level call.
70 #endif /* _USS_PTSERVER_H_ */