"Fossies" - the Fresh Open Source Software Archive

Member "memcached-1.6.15/authfile.h" (21 Feb 2022, 375 Bytes) of package /linux/www/memcached-1.6.15.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "authfile.h" see the Fossies "Dox" file reference documentation.

    1 #ifndef AUTHFILE_H
    2 #define AUTHFILE_H
    3 
    4 enum authfile_ret {
    5     AUTHFILE_OK = 0,
    6     AUTHFILE_OOM,
    7     AUTHFILE_STATFAIL, // not likely, but just to be sure
    8     AUTHFILE_OPENFAIL,
    9     AUTHFILE_MALFORMED,
   10 };
   11 
   12 // FIXME: mc_authfile or something?
   13 enum authfile_ret authfile_load(const char *file);
   14 int authfile_check(const char *user, const char *pass);
   15 
   16 #endif /* AUTHFILE_H */