aboutsummaryrefslogtreecommitdiffstats
path: root/assuan/assuan.h
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2001-11-22 03:08:07 +0000
committerMarcus Brinkmann <[email protected]>2001-11-22 03:08:07 +0000
commit3f1c299866acecd3e56dc7a7fdb58817b4420ba4 (patch)
tree250f373c43b4cb82b72dc3915f9267c3bb208bb4 /assuan/assuan.h
parent2001-11-22 Marcus Brinkmann <[email protected]> (diff)
downloadgpgme-3f1c299866acecd3e56dc7a7fdb58817b4420ba4.tar.gz
gpgme-3f1c299866acecd3e56dc7a7fdb58817b4420ba4.zip
* assuan-connect.c (assuan_get_pid): New function.
* assuan.h: Prototype. Include sys/types.h for pid_t, and stdio.h for FILE *.
Diffstat (limited to 'assuan/assuan.h')
-rw-r--r--assuan/assuan.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/assuan/assuan.h b/assuan/assuan.h
index 97462fb9..5154d56f 100644
--- a/assuan/assuan.h
+++ b/assuan/assuan.h
@@ -21,6 +21,9 @@
#ifndef ASSUAN_H
#define ASSUAN_H
+#include <stdio.h>
+#include <sys/types.h>
+
#ifdef __cplusplus
extern "C" {
#if 0
@@ -100,6 +103,7 @@ void assuan_deinit_pipe_server (ASSUAN_CONTEXT ctx);
AssuanError assuan_pipe_connect (ASSUAN_CONTEXT *ctx, const char *name,
char *const argv[]);
void assuan_pipe_disconnect (ASSUAN_CONTEXT ctx);
+pid_t assuan_get_pid (ASSUAN_CONTEXT ctx);
/*-- assuan-util.c --*/
void assuan_set_malloc_hooks ( void *(*new_alloc_func)(size_t n),