Changeset 3621 in MondoRescue for branches/3.3/mindi-busybox/include/shadow_.h


Ignore:
Timestamp:
Dec 20, 2016, 4:07:32 PM (7 years ago)
Author:
Bruno Cornec
Message:

New 3?3 banch for incorporation of latest busybox 1.25. Changing minor version to handle potential incompatibilities.

Location:
branches/3.3
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/3.3/mindi-busybox/include/shadow_.h

    r3232 r3621  
    5858#ifdef UNUSED_FOR_NOW
    5959/* Open database for reading */
    60 extern void setspent(void);
     60void FAST_FUNC setspent(void);
    6161
    6262/* Close database */
    63 extern void endspent(void);
     63void FAST_FUNC endspent(void);
    6464
    6565/* Get next entry from database, perhaps after opening the file */
    66 extern struct spwd *getspent(void);
     66struct spwd* FAST_FUNC getspent(void);
    6767
    6868/* Get shadow entry matching NAME */
    69 extern struct spwd *getspnam(const char *__name);
     69struct spwd* FAST_FUNC getspnam(const char *__name);
    7070
    7171/* Read shadow entry from STRING */
    72 extern struct spwd *sgetspent(const char *__string);
     72struct spwd* FAST_FUNC sgetspent(const char *__string);
    7373
    7474/* Read next shadow entry from STREAM */
    75 extern struct spwd *fgetspent(FILE *__stream);
     75struct spwd* FAST_FUNC fgetspent(FILE *__stream);
    7676
    7777/* Write line containing shadow password entry to stream */
    78 extern int putspent(const struct spwd *__p, FILE *__stream);
     78int FAST_FUNC putspent(const struct spwd *__p, FILE *__stream);
    7979
    8080/* Reentrant versions of some of the functions above */
    81 extern int getspent_r(struct spwd *__result_buf, char *__buffer,
     81int FAST_FUNC getspent_r(struct spwd *__result_buf, char *__buffer,
    8282        size_t __buflen, struct spwd **__result);
    8383#endif
    8484
    85 extern int getspnam_r(const char *__name, struct spwd *__result_buf,
     85int FAST_FUNC getspnam_r(const char *__name, struct spwd *__result_buf,
    8686        char *__buffer, size_t __buflen,
    8787        struct spwd **__result);
    8888
    8989#ifdef UNUSED_FOR_NOW
    90 extern int sgetspent_r(const char *__string, struct spwd *__result_buf,
     90int FAST_FUNC sgetspent_r(const char *__string, struct spwd *__result_buf,
    9191        char *__buffer, size_t __buflen,
    9292        struct spwd **__result);
    9393
    94 extern int fgetspent_r(FILE *__stream, struct spwd *__result_buf,
     94int FAST_FUNC fgetspent_r(FILE *__stream, struct spwd *__result_buf,
    9595        char *__buffer, size_t __buflen,
    9696        struct spwd **__result);
    9797/* Protect password file against multi writers */
    98 extern int lckpwdf(void);
     98int FAST_FUNC lckpwdf(void);
    9999
    100100/* Unlock password file */
    101 extern int ulckpwdf(void);
     101int FAST_FUNC ulckpwdf(void);
    102102#endif
    103103
Note: See TracChangeset for help on using the changeset viewer.