Donate

You can make a donation if you'd like to support my work:


Contact

I deactivated the rating mechanism for now due to excessive spamming; while I got some interesting comments when I started it the current ratio is several hundred spam comments for one useful comment. If you have anything to say, please write an email to bwachter-hp@lart.info

libaard_authinfo.h

Functions

authinfo_init()

int authinfo_init();

authinfo_lookup()

int authinfo_lookup(authinfo *authinfo_lookup);

Types

authinfo

typedef struct _authinfo authinfo;
struct _authinfo {
	char machine[NI_MAXHOST];
	char port[NI_MAXSERV];
	char login[AM_MAXUSER];
	char password[AM_MAXPASS];
	int defaultauth;
	int force;
	authinfo *next;
};

authinfo_key

typedef struct _authinfo_key authinfo_key;
struct _authinfo_key {
	char *name;
	int hasargs;
};