Changeset 3621 in MondoRescue for branches/3.3/mindi-busybox/include/shadow_.h
- Timestamp:
- Dec 20, 2016, 4:07:32 PM (7 years ago)
- Location:
- branches/3.3
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/mindi-busybox/include/shadow_.h
r3232 r3621 58 58 #ifdef UNUSED_FOR_NOW 59 59 /* Open database for reading */ 60 extern voidsetspent(void);60 void FAST_FUNC setspent(void); 61 61 62 62 /* Close database */ 63 extern voidendspent(void);63 void FAST_FUNC endspent(void); 64 64 65 65 /* Get next entry from database, perhaps after opening the file */ 66 extern struct spwd *getspent(void);66 struct spwd* FAST_FUNC getspent(void); 67 67 68 68 /* Get shadow entry matching NAME */ 69 extern struct spwd *getspnam(const char *__name);69 struct spwd* FAST_FUNC getspnam(const char *__name); 70 70 71 71 /* Read shadow entry from STRING */ 72 extern struct spwd *sgetspent(const char *__string);72 struct spwd* FAST_FUNC sgetspent(const char *__string); 73 73 74 74 /* Read next shadow entry from STREAM */ 75 extern struct spwd *fgetspent(FILE *__stream);75 struct spwd* FAST_FUNC fgetspent(FILE *__stream); 76 76 77 77 /* Write line containing shadow password entry to stream */ 78 extern intputspent(const struct spwd *__p, FILE *__stream);78 int FAST_FUNC putspent(const struct spwd *__p, FILE *__stream); 79 79 80 80 /* Reentrant versions of some of the functions above */ 81 extern intgetspent_r(struct spwd *__result_buf, char *__buffer,81 int FAST_FUNC getspent_r(struct spwd *__result_buf, char *__buffer, 82 82 size_t __buflen, struct spwd **__result); 83 83 #endif 84 84 85 extern intgetspnam_r(const char *__name, struct spwd *__result_buf,85 int FAST_FUNC getspnam_r(const char *__name, struct spwd *__result_buf, 86 86 char *__buffer, size_t __buflen, 87 87 struct spwd **__result); 88 88 89 89 #ifdef UNUSED_FOR_NOW 90 extern intsgetspent_r(const char *__string, struct spwd *__result_buf,90 int FAST_FUNC sgetspent_r(const char *__string, struct spwd *__result_buf, 91 91 char *__buffer, size_t __buflen, 92 92 struct spwd **__result); 93 93 94 extern intfgetspent_r(FILE *__stream, struct spwd *__result_buf,94 int FAST_FUNC fgetspent_r(FILE *__stream, struct spwd *__result_buf, 95 95 char *__buffer, size_t __buflen, 96 96 struct spwd **__result); 97 97 /* Protect password file against multi writers */ 98 extern intlckpwdf(void);98 int FAST_FUNC lckpwdf(void); 99 99 100 100 /* Unlock password file */ 101 extern intulckpwdf(void);101 int FAST_FUNC ulckpwdf(void); 102 102 #endif 103 103
Note:
See TracChangeset
for help on using the changeset viewer.