summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-06-21 05:58:46 +0000
committerMiles Bader <miles@gnu.org>1996-06-21 05:58:46 +0000
commitb53d826c9a2aeb5c33beb328ffadb45ea96bde1d (patch)
tree7878c807cc9e8429f35f1193d2ee24dd4dbc15ab
parenta05664455d6949646612790778525662fc03cc1b (diff)
(fshelp_set_options): Add INPUT argument.
(fshelp_return_malloced_buffer): New declaration.
-rw-r--r--libfshelp/fshelp.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/libfshelp/fshelp.h b/libfshelp/fshelp.h
index 990a732b..9df05abe 100644
--- a/libfshelp/fshelp.h
+++ b/libfshelp/fshelp.h
@@ -210,6 +210,13 @@ struct argp; /* Include <argp.h> to get the real thing. */
/* Invoke ARGP with data from DATA & LEN, in the standard way. */
error_t fshelp_set_options (struct argp *argp, int flags,
- char *data, mach_msg_type_number_t len);
+ char *argz, size_t argz_len, void *input);
+
+/* Puts data from the malloced buffer BUF, LEN bytes long, into RBUF & RLEN,
+ suitable for returning from a mach rpc. If LEN > 0, BUF is freed,
+ regardless of whether an error is returned or not. */
+error_t fshelp_return_malloced_buffer (char *buf, size_t len,
+ char **rbuf,
+ mach_msg_type_number_t *rlen);
#endif