diff options
author | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2000-06-17 17:04:17 +0000 |
---|---|---|
committer | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2000-06-17 17:04:17 +0000 |
commit | 29b67ffcfceb08dbc0fe3389a001dee353dfd29b (patch) | |
tree | 2f4a4530d4b5c13a354bb8d22f9ebe7f9284ebf3 /include/apr_file_io.h | |
parent | 2ad97aadb53bee934f9c2f3bc7ec760cdaa623b9 (diff) | |
download | libapr-29b67ffcfceb08dbc0fe3389a001dee353dfd29b.tar.gz |
ap_puts(), ap_write(): make input buffer ptr const * instead of *
ap_create_namedpipe(): make input path name ptr const * instead of *
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60217 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_file_io.h')
-rw-r--r-- | include/apr_file_io.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/apr_file_io.h b/include/apr_file_io.h index 490c676a5..e71027223 100644 --- a/include/apr_file_io.h +++ b/include/apr_file_io.h @@ -253,7 +253,7 @@ ap_status_t ap_read(ap_file_t *thefile, void *buf, ap_ssize_t *nbytes); /* -=head1 ap_status_t ap_write(ap_file_t *thefile, void *buf, ap_ssize_t *nbytes) +=head1 ap_status_t ap_write(ap_file_t *thefile, const void *buf, ap_ssize_t *nbytes) B<Write data to the specified file.> @@ -274,7 +274,7 @@ B<NOTE>: ap_write will write up to the specified number of bytes, but never =cut */ -ap_status_t ap_write(ap_file_t *thefile, void *buf, ap_ssize_t *nbytes); +ap_status_t ap_write(ap_file_t *thefile, const void *buf, ap_ssize_t *nbytes); /* @@ -357,7 +357,7 @@ ap_status_t ap_fgets(char *str, int len, ap_file_t *thefile); /* -=head1 ap_status_t ap_puts(char *str, ap_file_t *thefile) +=head1 ap_status_t ap_puts(const char *str, ap_file_t *thefile) B<Put the string into a specified file.> @@ -366,7 +366,7 @@ B<Put the string into a specified file.> =cut */ -ap_status_t ap_puts(char *str, ap_file_t *thefile); +ap_status_t ap_puts(const char *str, ap_file_t *thefile); /* @@ -555,7 +555,7 @@ ap_status_t ap_create_pipe(ap_file_t **in, ap_file_t **out, ap_pool_t *cont); /* -=head1 ap_status_t ap_create_namedpipe(char *filename, ap_fileperms_t perm, ap_pool_t *cont) +=head1 ap_status_t ap_create_namedpipe(const char *filename, ap_fileperms_t perm, ap_pool_t *cont) B<Create a named pipe.> @@ -565,7 +565,7 @@ B<Create a named pipe.> =cut */ -ap_status_t ap_create_namedpipe(char *filename, ap_fileperms_t perm, +ap_status_t ap_create_namedpipe(const char *filename, ap_fileperms_t perm, ap_pool_t *cont); /* |