summaryrefslogtreecommitdiff
path: root/libtac/include
diff options
context:
space:
mode:
authorJeroen Nijhof <jeroen@jeroennijhof.nl>2012-03-18 14:47:55 +0100
committerJeroen Nijhof <jeroen@jeroennijhof.nl>2012-03-18 14:47:55 +0100
commitf467ae338eeef5b0f9f19cc40add51fac3bf252e (patch)
tree1074c935558b7a6ae8831e354fcebdbab1619701 /libtac/include
parent7bcf688493641bb5762a3fa67454e604158f8255 (diff)
downloadpam_tacplus-f467ae338eeef5b0f9f19cc40add51fac3bf252e.tar.gz
pam_tacplus-f467ae338eeef5b0f9f19cc40add51fac3bf252e.zip
Changed e-mail and improved accounting
Diffstat (limited to 'libtac/include')
-rw-r--r--libtac/include/cdefs.h2
-rw-r--r--libtac/include/libtac.h7
-rw-r--r--libtac/include/tacplus.h2
3 files changed, 6 insertions, 5 deletions
diff --git a/libtac/include/cdefs.h b/libtac/include/cdefs.h
index 2297d93..98ae7a5 100644
--- a/libtac/include/cdefs.h
+++ b/libtac/include/cdefs.h
@@ -1,7 +1,7 @@
/* cdefs.h
*
* Copyright (C) 2010, Pawel Krawczyk <pawel.krawczyk@hush.com> and
- * Jeroen Nijhof <jeroen@nijhofnet.nl>
+ * Jeroen Nijhof <jeroen@jeroennijhof.nl>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/libtac/include/libtac.h b/libtac/include/libtac.h
index d7a2071..2e1881f 100644
--- a/libtac/include/libtac.h
+++ b/libtac/include/libtac.h
@@ -1,7 +1,7 @@
/* libtac.h
*
* Copyright (C) 2010, Pawel Krawczyk <pawel.krawczyk@hush.com> and
- * Jeroen Nijhof <jeroen@nijhofnet.nl>
+ * Jeroen Nijhof <jeroen@jeroennijhof.nl>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -132,9 +132,10 @@ extern void _tac_crypt(u_char *buf, HDR *th, int length);
extern u_char *_tac_md5_pad(int len, HDR *hdr);
extern void tac_add_attrib(struct tac_attrib **attr, char *name, char *value);
extern void tac_free_attrib(struct tac_attrib **attr);
-extern int tac_account_send(int fd, int type, const char *user, char *tty, char *rem_addr,
+extern char *tac_acct_flag2str(int flag);
+extern int tac_acct_send(int fd, int type, const char *user, char *tty, char *rem_addr,
struct tac_attrib *attr);
-extern int tac_account_read(int fd, struct areply *arep);
+extern int tac_acct_read(int fd, struct areply *arep);
extern void *xcalloc(size_t nmemb, size_t size);
extern void *xrealloc(void *ptr, size_t size);
extern char *_tac_check_header(HDR *th, int type);
diff --git a/libtac/include/tacplus.h b/libtac/include/tacplus.h
index 0838325..b5bc1a7 100644
--- a/libtac/include/tacplus.h
+++ b/libtac/include/tacplus.h
@@ -1,7 +1,7 @@
/* tacplus.h
*
* Copyright (C) 2010, Pawel Krawczyk <pawel.krawczyk@hush.com> and
- * Jeroen Nijhof <jeroen@nijhofnet.nl>
+ * Jeroen Nijhof <jeroen@jeroennijhof.nl>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by