1/* This is a generated file */ 2#ifndef __login_protos_h__ 3#define __login_protos_h__ 4 5#include <stdarg.h> 6 7#ifdef __cplusplus 8extern "C" { 9#endif 10 11void 12add_env ( 13 const char */*var*/, 14 const char */*value*/); 15 16void 17check_shadow ( 18 const struct passwd */*pw*/, 19 const struct spwd */*sp*/); 20 21char * 22clean_ttyname (char */*tty*/); 23 24void 25copy_env (void); 26 27int 28do_osfc2_magic (uid_t /*uid*/); 29 30void 31extend_env (char */*str*/); 32 33int 34login_access ( 35 struct passwd */*user*/, 36 char */*from*/); 37 38char * 39login_conf_get_string (const char */*str*/); 40 41void 42login_read_env (const char */*file*/); 43 44char * 45make_id (char */*tty*/); 46 47void 48prepare_utmp ( 49 struct utmp */*utmp*/, 50 char */*tty*/, 51 const char */*username*/, 52 const char */*hostname*/); 53 54int 55read_limits_conf ( 56 const char */*file*/, 57 const struct passwd */*pwd*/); 58 59int 60read_string ( 61 const char */*prompt*/, 62 char */*buf*/, 63 size_t /*len*/, 64 int /*echo*/); 65 66void 67shrink_hostname ( 68 const char */*hostname*/, 69 char */*dst*/, 70 size_t /*dst_sz*/); 71 72void 73stty_default (void); 74 75void 76utmp_login ( 77 char */*tty*/, 78 const char */*username*/, 79 const char */*hostname*/); 80 81int 82utmpx_login ( 83 char */*line*/, 84 const char */*user*/, 85 const char */*host*/); 86 87#ifdef __cplusplus 88} 89#endif 90 91#endif /* __login_protos_h__ */ 92