Annotation of 43BSD/contrib/xns/examples/passwd/PasswordLookup_defs.h, revision 1.1.1.1

1.1       root        1: /*
                      2:  * Definitions for PasswordLookup.
                      3:  */
                      4: #include <courier/courier.h>
                      5: #include <courier/courierconnection.h>
                      6: #define PasswordLookup_VERSION 1
                      7: #define PasswordLookup_NUMBER 754
                      8: 
                      9: 
                     10: typedef struct {
                     11:        String pw_name;
                     12:        String pw_passwd;
                     13:        LongCardinal pw_uid;
                     14:        LongCardinal pw_gid;
                     15:        LongCardinal pw_quota;
                     16:        String pw_comment;
                     17:        String pw_gecos;
                     18:        String pw_dir;
                     19:        String pw_shell;
                     20: } Passwd;
                     21: 
                     22: #define NoSuchUser (ERROR_OFFSET+0)
                     23: #define NoSuchUserArgs T_cn754_1
                     24: 
                     25: typedef struct {
                     26:        String errorstring;
                     27: } T_cn754_2;
                     28: 
                     29: #define OtherError (ERROR_OFFSET+1)
                     30: #define OtherErrorArgs T_cn754_2
                     31: 
                     32: typedef struct {
                     33:        Passwd passwd;
                     34: } LookupUidResults;
                     35: 
                     36: extern LookupUidResults LookupUid();
                     37: 
                     38: typedef struct {
                     39:        Passwd passwd;
                     40: } LookupUserResults;
                     41: 
                     42: extern LookupUserResults LookupUser();

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.