"Fossies" - the Fresh Open Source Software Archive

Member "smbnetfs-0.6.0/src/auth.h" (11 Jan 2015, 704 Bytes) of archive /linux/misc/smbnetfs-0.6.0.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 "auth.h" see the Fossies "Dox" file reference documentation.

    1 #ifndef __AUTH_H__
    2 #define __AUTH_H__
    3 
    4 #include "list.h"
    5 
    6 struct authinfo{
    7     LIST            entries;
    8     int             ref_count;
    9     char            *domain;
   10     char            *user;
   11     char            *password;
   12 };
   13 
   14 
   15 void              auth_set_default_login_name(const char *name);
   16 struct authinfo * auth_get_authinfo(
   17                 const char *domain,
   18                 const char *server,
   19                 const char *share,
   20                 int *suitability);
   21 void              auth_release_authinfo(struct authinfo *info);
   22 int               auth_store_auth_data(
   23                 const char *server_or_domain,
   24                 const char *share_or_empty,
   25                 const char *domain,
   26                 const char *user,
   27                 const char *password);
   28 void              auth_delete_obsolete(time_t threshold);
   29 
   30 #endif  /* __AUTH_H__ */