diff options
author | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 1999-10-11 14:20:43 +0000 |
---|---|---|
committer | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 1999-10-11 14:20:43 +0000 |
commit | 4cd4abb52a0adb3c218e78a0b939a0c32f9c72e1 (patch) | |
tree | 6f10c105068bfe75f317e4a7abbee25606ed9f32 /include/apr_lib.h | |
parent | 32df4010845fe2ca7ebd0a028bf4c143fa272fcf (diff) | |
download | libapr-4cd4abb52a0adb3c218e78a0b939a0c32f9c72e1.tar.gz |
Make Apache use the new ap_create_process call. This is the first of a
group of patches. This patch, allows the core server to compile and
serve pages. There is a set of patches which will follow to allow the
standard modules to use ap_create_process. This change should make
writing code which spawns new processes easy to read and understand.
Submitted by: Paul Reder
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59309 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_lib.h')
-rw-r--r-- | include/apr_lib.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/apr_lib.h b/include/apr_lib.h index c76cb4903..ff71e6cc5 100644 --- a/include/apr_lib.h +++ b/include/apr_lib.h @@ -164,6 +164,8 @@ enum kill_conditions { * Define the prototypes for the various APR GP routines. */ API_EXPORT(char *) ap_cpystrn(char *d, const char *s, size_t l); +API_EXPORT(int) ap_tokenize_to_argv(ap_context_t *token_context, + char *arg_str, char ***argv_out); /*API_EXPORT(ap_mutex_t *) ap_create_mutex(void *m);*/ API_EXPORT(int) ap_slack(int l, int h); API_EXPORT_NONSTD(int) ap_execle(const char *c, const char *a, ...); @@ -371,9 +373,8 @@ API_EXPORT(void) ap_cleanup_for_exec(void); API_EXPORT(ap_status_t) ap_getpass(const char *prompt, char *pwbuf, size_t *bufsize); API_EXPORT_NONSTD(ap_status_t) ap_null_cleanup(void *data); -/*API_EXPORT(void) ap_note_subprocess(ap_pool_t *a, pid_t pid, +API_EXPORT(void) ap_note_subprocess(struct context_t *a, pid_t pid, enum kill_conditions how); -*/ API_EXPORT(int) ap_spawn_child(ap_context_t *p, int (*func) (void *a, ap_child_info_t *c), |