summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-08-10 17:46:52 +0000
committerLaurent Bercot <ska@appnovation.com>2021-08-10 17:46:52 +0000
commitd54e853e93e9a413aeb02f2d9bb87349b0b862c7 (patch)
tree1041d0052ad14aed3edc7640ee0cac6199618366 /src/include
parent0104e366908d9a4100f1b4313cdece20b636c6d6 (diff)
downloadpamela-d54e853e93e9a413aeb02f2d9bb87349b0b862c7.tar.xz
Adapt to skalibs-2.11.0.0
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/pamela/pamela.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/include/pamela/pamela.h b/src/include/pamela/pamela.h
index ce5a971..58fccc6 100644
--- a/src/include/pamela/pamela.h
+++ b/src/include/pamela/pamela.h
@@ -24,8 +24,8 @@
/* pam_fail_delay */
-typedef void pamela_pam_delay_func_t (int, unsigned int, void *) ;
-typedef pamela_pam_delay_func_t *pamela_pam_delay_func_t_ref ;
+typedef void pamela_pam_delay_func (int, unsigned int, void *) ;
+typedef pamela_pam_delay_func *pamela_pam_delay_func_ref ;
/* Conversations */
@@ -46,8 +46,8 @@ struct pamela_pam_response_s
extern void pamela_pam_response_free (pamela_pam_response_t *, uint32_t) ;
-typedef int pamela_pam_conv_func_t (int, pamela_pam_message_t const **, pamela_pam_response_t **, void *) ;
-typedef pamela_pam_conv_func_t *pamela_pam_conv_func_t_ref ;
+typedef int pamela_pam_conv_func (int, pamela_pam_message_t const **, pamela_pam_response_t **, void *) ;
+typedef pamela_pam_conv_func *pamela_pam_conv_func_ref ;
/* Client handle */
@@ -55,11 +55,11 @@ typedef pamela_pam_conv_func_t *pamela_pam_conv_func_t_ref ;
typedef struct pamela_s pamela_t, *pamela_t_ref ;
struct pamela_s
{
- textmessage_receiver_t in ;
- textmessage_sender_t out ;
+ textmessage_receiver in ;
+ textmessage_sender out ;
pid_t pid ;
- pamela_pam_delay_func_t_ref delayfn ;
- pamela_pam_conv_func_t_ref convfn ;
+ pamela_pam_delay_func_ref delayfn ;
+ pamela_pam_conv_func_ref convfn ;
void *aux ;
char inbuf[PAMELA_BUFSIZE] ;
} ;
@@ -70,7 +70,7 @@ extern pamela_t const pamela_zero ;
/* User-facing functions */
-extern int pamela_startf (pamela_t *, char const *, char const *, pamela_pam_conv_func_t_ref, void *) ;
+extern int pamela_startf (pamela_t *, char const *, char const *, pamela_pam_conv_func_ref, void *) ;
extern void pamela_end (pamela_t *) ;
extern int pamela_strerror (pamela_t *, unsigned char, stralloc *) ;
extern int pamela_getenvlist (pamela_t *, stralloc *) ;