File: auth.h

package info (click to toggle)
bitlbee 3.6-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,392 kB
  • sloc: ansic: 29,135; xml: 2,282; sh: 905; makefile: 389; python: 221; perl: 41
file content (13 lines) | stat: -rw-r--r-- 337 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef __BITLBEE_AUTH_H__
#define __BITLBEE_AUTH_H__

#include "storage.h"

typedef struct {
	const char *name;
	storage_status_t (*check_pass)(const char *nick, const char *password);
} auth_backend_t;

GList *auth_init(const char *backend);
storage_status_t auth_check_pass(irc_t *irc, const char *nick, const char *password);
#endif