httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr/threadproc/win32 proc.c signals.c thread.c threadcancel.c threadpriv.c
Date Mon, 03 Apr 2000 19:45:39 GMT
rbb         00/04/03 12:45:38

  Modified:    src/lib/apr/dso/aix dso.c
               src/lib/apr/dso/unix dso.c
               src/lib/apr/file_io/beos readwrite.c
               src/lib/apr/file_io/os2 dir.c fileacc.c filedup.c filestat.c
                        open.c pipe.c readwrite.c seek.c
               src/lib/apr/file_io/unix dir.c fileacc.c filedup.c
                        filestat.c open.c pipe.c readwrite.c seek.c
               src/lib/apr/file_io/win32 dir.c fileacc.c filedup.c
                        filestat.c open.c pipe.c readwrite.c seek.c
               src/lib/apr/include apr_portable.h apr_thread_proc.h
               src/lib/apr/lib apr_pools.c apr_tables.c
               src/lib/apr/locks/beos crossproc.c intraproc.c locks.c
               src/lib/apr/locks/os2 locks.c
               src/lib/apr/locks/unix crossproc.c intraproc.c locks.c
               src/lib/apr/locks/win32 locks.c
               src/lib/apr/misc/beos start.c
               src/lib/apr/misc/unix getopt.c start.c
               src/lib/apr/misc/win32 getopt.c names.c start.c
               src/lib/apr/mmap/beos mmap.c
               src/lib/apr/mmap/unix mmap.c
               src/lib/apr/network_io/beos poll.c sendrecv.c sockaddr.c
                        sockets.c sockopt.c
               src/lib/apr/network_io/os2 poll.c sendrecv.c sockets.c
                        sockopt.c
               src/lib/apr/network_io/unix poll.c sendrecv.c sockaddr.c
                        sockets.c sockopt.c
               src/lib/apr/network_io/win32 poll.c sendrecv.c sockaddr.c
                        sockets.c sockopt.c
               src/lib/apr/threadproc/beos proc.c procsup.c signals.c
                        thread.c threadcancel.c threadpriv.c
               src/lib/apr/threadproc/os2 proc.c signals.c thread.c
                        threadcancel.c threadpriv.c
               src/lib/apr/threadproc/unix proc.c procsup.c signals.c
                        thread.c threadcancel.c threadpriv.c
               src/lib/apr/threadproc/win32 proc.c signals.c thread.c
                        threadcancel.c threadpriv.c
  Log:
  Finish the APR naming cleanup.  This removes the struct's from
  apr_variable declarations.  This works on Unix, but a test compile
  on other platforms would be a good idea.
  
  Revision  Changes    Path
  1.3       +3 -3      apache-2.0/src/lib/apr/dso/aix/dso.c
  
  Index: dso.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/dso/aix/dso.c,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- dso.c	2000/04/03 18:36:51	1.2
  +++ dso.c	2000/04/03 19:44:15	1.3
  @@ -134,7 +134,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_dso_load(struct ap_dso_handle_t **res_handle, const char *path, 
  +ap_status_t ap_dso_load(ap_dso_handle_t **res_handle, const char *path, 
                           ap_context_t *ctx)
   {
       void *os_handle = dlopen((char *)path, RTLD_NOW | RTLD_GLOBAL);
  @@ -148,7 +148,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_dso_unload(struct ap_dso_handle_t *handle)
  +ap_status_t ap_dso_unload(ap_dso_handle_t *handle)
   {
       if (dlclose(handle->handle) != 0)
           return APR_EINIT;
  @@ -157,7 +157,7 @@
   }
   
   ap_status_t ap_dso_sym(ap_dso_handle_sym_t *ressym, 
  -                       struct ap_dso_handle_t *handle, 
  +                       ap_dso_handle_t *handle, 
                          const char *symname)
   {
       void *retval = dlsym(handle->handle, symname);
  
  
  
  1.8       +3 -3      apache-2.0/src/lib/apr/dso/unix/dso.c
  
  Index: dso.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/dso/unix/dso.c,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- dso.c	2000/04/03 18:36:55	1.7
  +++ dso.c	2000/04/03 19:44:18	1.8
  @@ -70,7 +70,7 @@
    * arg 2) Path to the DSO library
    * arg 3) Context to use. 
    */
  -ap_status_t ap_dso_load(struct ap_dso_handle_t **res_handle, const char *path, 
  +ap_status_t ap_dso_load(ap_dso_handle_t **res_handle, const char *path, 
                           ap_context_t *ctx)
   {
   #if defined(HPUX) || defined(HPUX10) || defined(HPUX11)
  @@ -96,7 +96,7 @@
    *    Close a DSO library.
    * arg 1) handle to close.
    */
  -ap_status_t ap_dso_unload(struct ap_dso_handle_t *handle)
  +ap_status_t ap_dso_unload(ap_dso_handle_t *handle)
   {
   #if defined(HPUX) || defined(HPUX10) || defined(HPUX11)
       shl_unload((shl_t)handle->handle);
  @@ -117,7 +117,7 @@
    * arg 3) Name of the symbol to load.
    */
   ap_status_t ap_dso_sym(ap_dso_handle_sym_t *ressym, 
  -                       struct ap_dso_handle_t *handle, 
  +                       ap_dso_handle_t *handle, 
                          const char *symname)
   {
   #if defined(HPUX) || defined(HPUX10) || defined(HPUX11)
  
  
  
  1.13      +4 -4      apache-2.0/src/lib/apr/file_io/beos/readwrite.c
  
  Index: readwrite.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/beos/readwrite.c,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- readwrite.c	2000/04/03 17:14:03	1.12
  +++ readwrite.c	2000/04/03 19:44:21	1.13
  @@ -54,7 +54,7 @@
   
   #include "../unix/fileio.h"
   
  -ap_status_t ap_read(struct ap_file_t *thefile, void *buf, ap_ssize_t *nbytes)
  +ap_status_t ap_read(ap_file_t *thefile, void *buf, ap_ssize_t *nbytes)
   {
       ap_ssize_t rv;
   
  @@ -81,7 +81,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_write(struct ap_file_t *thefile, void *buf, ap_ssize_t *nbytes)
  +ap_status_t ap_write(ap_file_t *thefile, void *buf, ap_ssize_t *nbytes)
   {
       ap_size_t rv;
   
  @@ -105,7 +105,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_writev(struct ap_file_t *thefile, const struct iovec *vec, 
  +ap_status_t ap_writev(ap_file_t *thefile, const struct iovec *vec, 
                         ap_size_t nvec, ap_ssize_t *nbytes)
   {
       int bytes;
  @@ -246,7 +246,7 @@
   }
   #endif
   
  -API_EXPORT(int) ap_fprintf(struct ap_file_t *fptr, const char *format, ...)
  +API_EXPORT(int) ap_fprintf(ap_file_t *fptr, const char *format, ...)
   {
       int cc;
       va_list ap;
  
  
  
  1.9       +10 -10    apache-2.0/src/lib/apr/file_io/os2/dir.c
  
  Index: dir.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/os2/dir.c,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- dir.c	2000/04/03 18:36:56	1.8
  +++ dir.c	2000/04/03 19:44:22	1.9
  @@ -62,15 +62,15 @@
   
   static ap_status_t dir_cleanup(void *thedir)
   {
  -    struct ap_dir_t *dir = thedir;
  +    ap_dir_t *dir = thedir;
       return ap_closedir(dir);
   }
   
   
   
  -ap_status_t ap_opendir(struct ap_dir_t **new, const char *dirname, ap_context_t *cntxt)
  +ap_status_t ap_opendir(ap_dir_t **new, const char *dirname, ap_context_t *cntxt)
   {
  -    struct ap_dir_t *thedir = (struct ap_dir_t *)ap_palloc(cntxt, sizeof(struct ap_dir_t));
  +    ap_dir_t *thedir = (ap_dir_t *)ap_palloc(cntxt, sizeof(ap_dir_t));
       
       if (thedir == NULL)
           return APR_ENOMEM;
  @@ -90,7 +90,7 @@
   
   
   
  -ap_status_t ap_closedir(struct ap_dir_t *thedir)
  +ap_status_t ap_closedir(ap_dir_t *thedir)
   {
       int rv = 0;
       
  @@ -107,7 +107,7 @@
   
   
   
  -ap_status_t ap_readdir(struct ap_dir_t *thedir)
  +ap_status_t ap_readdir(ap_dir_t *thedir)
   {
       int rv;
       ULONG entries = 1;
  @@ -136,7 +136,7 @@
   
   
   
  -ap_status_t ap_rewinddir(struct ap_dir_t *thedir)
  +ap_status_t ap_rewinddir(ap_dir_t *thedir)
   {
       return ap_closedir(thedir);
   }
  @@ -157,7 +157,7 @@
   
   
   
  -ap_status_t ap_dir_entry_size(ap_ssize_t *size, struct ap_dir_t *thedir)
  +ap_status_t ap_dir_entry_size(ap_ssize_t *size, ap_dir_t *thedir)
   {
       if (thedir->validentry) {
           *size = thedir->entry.cbFile;
  @@ -169,7 +169,7 @@
   
   
   
  -ap_status_t ap_dir_entry_mtime(ap_time_t *time, struct ap_dir_t *thedir)
  +ap_status_t ap_dir_entry_mtime(ap_time_t *time, ap_dir_t *thedir)
   {
       if (thedir->validentry) {
           ap_os2_time_to_ap_time(time, thedir->entry.fdateLastWrite, thedir->entry.ftimeLastWrite);
  @@ -181,7 +181,7 @@
   
   
   
  -ap_status_t ap_dir_entry_ftype(ap_filetype_e *type, struct ap_dir_t *thedir)
  +ap_status_t ap_dir_entry_ftype(ap_filetype_e *type, ap_dir_t *thedir)
   {
       int rc;
       HFILE hFile;
  @@ -216,7 +216,7 @@
   
   
   
  -ap_status_t ap_get_dir_filename(char **new, struct ap_dir_t *thedir)
  +ap_status_t ap_get_dir_filename(char **new, ap_dir_t *thedir)
   {
       if (thedir->validentry) {
           *new = thedir->entry.achName;
  
  
  
  1.10      +4 -4      apache-2.0/src/lib/apr/file_io/os2/fileacc.c
  
  Index: fileacc.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/os2/fileacc.c,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- fileacc.c	2000/04/03 17:14:03	1.9
  +++ fileacc.c	2000/04/03 19:44:23	1.10
  @@ -60,9 +60,9 @@
   #include <string.h>
   #include <sys/types.h>
   
  -/* A file to put ALL of the accessor functions for struct ap_file_t types. */
  +/* A file to put ALL of the accessor functions for ap_file_t types. */
   
  -ap_status_t ap_get_filename(char **new, struct ap_file_t *thefile)
  +ap_status_t ap_get_filename(char **new, ap_file_t *thefile)
   {
       if (thefile != NULL) {
           *new = ap_pstrdup(thefile->cntxt, thefile->fname);
  @@ -75,7 +75,7 @@
   
   
   
  -ap_status_t ap_get_filedata(void **data, char *key, struct ap_file_t *file)
  +ap_status_t ap_get_filedata(void **data, char *key, ap_file_t *file)
   {    
       if (file != NULL) {
           return ap_get_userdata(data, key, file->cntxt);
  @@ -88,7 +88,7 @@
   
   
   
  -ap_status_t ap_set_filedata(struct ap_file_t *file, void *data, char *key,
  +ap_status_t ap_set_filedata(ap_file_t *file, void *data, char *key,
                               ap_status_t (*cleanup) (void *))
   {    
       if (file != NULL) {
  
  
  
  1.11      +3 -3      apache-2.0/src/lib/apr/file_io/os2/filedup.c
  
  Index: filedup.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/os2/filedup.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- filedup.c	2000/04/03 17:14:03	1.10
  +++ filedup.c	2000/04/03 19:44:23	1.11
  @@ -60,13 +60,13 @@
   #define INCL_DOS
   #include <os2.h>
   
  -ap_status_t ap_dupfile(struct ap_file_t **new_file, struct ap_file_t *old_file)
  +ap_status_t ap_dupfile(ap_file_t **new_file, ap_file_t *old_file)
   {
       int rv;
  -    struct ap_file_t *dup_file;
  +    ap_file_t *dup_file;
   
       if (*new_file == NULL) {
  -        dup_file = (struct ap_file_t *)ap_palloc(old_file->cntxt, sizeof(struct ap_file_t));
  +        dup_file = (ap_file_t *)ap_palloc(old_file->cntxt, sizeof(ap_file_t));
   
           if (dup_file == NULL) {
               return APR_ENOMEM;
  
  
  
  1.7       +1 -1      apache-2.0/src/lib/apr/file_io/os2/filestat.c
  
  Index: filestat.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/os2/filestat.c,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- filestat.c	2000/04/03 17:14:04	1.6
  +++ filestat.c	2000/04/03 19:44:23	1.7
  @@ -109,7 +109,7 @@
   
   
   
  -ap_status_t ap_getfileinfo(ap_finfo_t *finfo, struct ap_file_t *thefile)
  +ap_status_t ap_getfileinfo(ap_finfo_t *finfo, ap_file_t *thefile)
   {
       ULONG rc;
       FILESTATUS3 fstatus;
  
  
  
  1.19      +8 -8      apache-2.0/src/lib/apr/file_io/os2/open.c
  
  Index: open.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/os2/open.c,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- open.c	2000/04/03 17:14:04	1.18
  +++ open.c	2000/04/03 19:44:24	1.19
  @@ -63,19 +63,19 @@
   
   ap_status_t apr_file_cleanup(void *thefile)
   {
  -    struct ap_file_t *file = thefile;
  +    ap_file_t *file = thefile;
       return ap_close(file);
   }
   
   
   
  -ap_status_t ap_open(struct ap_file_t **new, const char *fname, ap_int32_t flag,  ap_fileperms_t perm, ap_context_t *cntxt)
  +ap_status_t ap_open(ap_file_t **new, const char *fname, ap_int32_t flag,  ap_fileperms_t perm, ap_context_t *cntxt)
   {
       int oflags = 0;
       int mflags = OPEN_FLAGS_FAIL_ON_ERROR|OPEN_SHARE_DENYNONE;
       int rv;
       ULONG action;
  -    ap_file_t *dafile = (struct ap_file_t *)ap_palloc(cntxt, sizeof(struct ap_file_t));
  +    ap_file_t *dafile = (ap_file_t *)ap_palloc(cntxt, sizeof(ap_file_t));
   
       *new = dafile;
       dafile->cntxt = cntxt;
  @@ -179,7 +179,7 @@
   
   
   
  -ap_status_t ap_get_os_file(ap_os_file_t *thefile, struct ap_file_t *file)
  +ap_status_t ap_get_os_file(ap_os_file_t *thefile, ap_file_t *file)
   {
       if (file == NULL) {
           return APR_ENOFILE;
  @@ -191,11 +191,11 @@
   
   
   
  -ap_status_t ap_put_os_file(struct ap_file_t **file, ap_os_file_t *thefile, ap_context_t *cont)
  +ap_status_t ap_put_os_file(ap_file_t **file, ap_os_file_t *thefile, ap_context_t *cont)
   {
       ap_os_file_t *dafile = thefile;
       if ((*file) == NULL) {
  -        (*file) = (struct ap_file_t *)ap_palloc(cont, sizeof(struct ap_file_t));
  +        (*file) = (ap_file_t *)ap_palloc(cont, sizeof(ap_file_t));
           (*file)->cntxt = cont;
       }
       (*file)->filedes = *dafile;
  @@ -218,9 +218,9 @@
   
   
   
  -ap_status_t ap_open_stderr(struct ap_file_t **thefile, ap_context_t *cont)
  +ap_status_t ap_open_stderr(ap_file_t **thefile, ap_context_t *cont)
   {
  -    (*thefile) = ap_palloc(cont, sizeof(struct ap_file_t));
  +    (*thefile) = ap_palloc(cont, sizeof(ap_file_t));
       if ((*thefile) == NULL) {
           return APR_ENOMEM;
       }
  
  
  
  1.12      +4 -4      apache-2.0/src/lib/apr/file_io/os2/pipe.c
  
  Index: pipe.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/os2/pipe.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- pipe.c	2000/04/03 17:14:04	1.11
  +++ pipe.c	2000/04/03 19:44:24	1.12
  @@ -58,7 +58,7 @@
   #include "apr_lib.h"
   #include <string.h>
   
  -ap_status_t ap_create_pipe(struct ap_file_t **in, struct ap_file_t **out, ap_context_t *cont)
  +ap_status_t ap_create_pipe(ap_file_t **in, ap_file_t **out, ap_context_t *cont)
   {
       ULONG filedes[2];
       ULONG rc;
  @@ -69,7 +69,7 @@
           return os2errno(rc);
       }
       
  -    (*in) = (struct ap_file_t *)ap_palloc(cont, sizeof(struct ap_file_t));
  +    (*in) = (ap_file_t *)ap_palloc(cont, sizeof(ap_file_t));
       (*in)->cntxt = cont;
       (*in)->filedes = filedes[0];
       (*in)->fname = ap_pstrdup(cont, "PIPE");
  @@ -78,7 +78,7 @@
       (*in)->flags = 0;
       ap_register_cleanup(cont, *in, apr_file_cleanup, ap_null_cleanup);
   
  -    (*out) = (struct ap_file_t *)ap_palloc(cont, sizeof(struct ap_file_t));
  +    (*out) = (ap_file_t *)ap_palloc(cont, sizeof(ap_file_t));
       (*out)->cntxt = cont;
       (*out)->filedes = filedes[1];
       (*out)->fname = ap_pstrdup(cont, "PIPE");
  @@ -100,7 +100,7 @@
   
    
   
  -ap_status_t ap_set_pipe_timeout(struct ap_file_t *thepipe, ap_int32_t timeout)
  +ap_status_t ap_set_pipe_timeout(ap_file_t *thepipe, ap_int32_t timeout)
   {
       return APR_ENOTIMPL;
   }
  
  
  
  1.17      +4 -4      apache-2.0/src/lib/apr/file_io/os2/readwrite.c
  
  Index: readwrite.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/os2/readwrite.c,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- readwrite.c	2000/04/03 17:14:04	1.16
  +++ readwrite.c	2000/04/03 19:44:24	1.17
  @@ -60,7 +60,7 @@
   #include <os2.h>
   #include <malloc.h>
   
  -ap_status_t ap_read(struct ap_file_t *thefile, void *buf, ap_ssize_t *nbytes)
  +ap_status_t ap_read(ap_file_t *thefile, void *buf, ap_ssize_t *nbytes)
   {
       ULONG rc = 0;
       ULONG bytesread;
  @@ -126,7 +126,7 @@
   
   
   
  -ap_status_t ap_write(struct ap_file_t *thefile, void *buf, ap_ssize_t *nbytes)
  +ap_status_t ap_write(ap_file_t *thefile, void *buf, ap_ssize_t *nbytes)
   {
       ULONG rc = 0;
       ULONG byteswritten;
  @@ -182,7 +182,7 @@
   
   #ifdef HAVE_WRITEV
   
  -ap_status_t ap_writev(struct ap_file_t *thefile, const struct iovec *vec, ap_size_t nvec, ap_ssize_t *nbytes)
  +ap_status_t ap_writev(ap_file_t *thefile, const struct iovec *vec, ap_size_t nvec, ap_ssize_t *nbytes)
   {
       int bytes;
       if ((bytes = writev(thefile->filedes, vec, nvec)) < 0) {
  @@ -313,7 +313,7 @@
   
   
   
  -API_EXPORT(int) ap_fprintf(struct ap_file_t *fptr, const char *format, ...)
  +API_EXPORT(int) ap_fprintf(ap_file_t *fptr, const char *format, ...)
   {
       int cc;
       va_list ap;
  
  
  
  1.7       +2 -2      apache-2.0/src/lib/apr/file_io/os2/seek.c
  
  Index: seek.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/os2/seek.c,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- seek.c	2000/04/03 17:14:04	1.6
  +++ seek.c	2000/04/03 19:44:25	1.7
  @@ -65,7 +65,7 @@
   
   
   
  -static ap_status_t setptr(struct ap_file_t *thefile, unsigned long pos )
  +static ap_status_t setptr(ap_file_t *thefile, unsigned long pos )
   {
       long newbufpos;
       ULONG rc;
  @@ -91,7 +91,7 @@
   
   
   
  -ap_status_t ap_seek(struct ap_file_t *thefile, ap_seek_where_t where, ap_off_t *offset)
  +ap_status_t ap_seek(ap_file_t *thefile, ap_seek_where_t where, ap_off_t *offset)
   {
       if (!thefile->isopen) {
           return APR_EBADF;
  
  
  
  1.24      +13 -13    apache-2.0/src/lib/apr/file_io/unix/dir.c
  
  Index: dir.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/unix/dir.c,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- dir.c	2000/04/03 18:37:00	1.23
  +++ dir.c	2000/04/03 19:44:29	1.24
  @@ -57,7 +57,7 @@
   
   static ap_status_t dir_cleanup(void *thedir)
   {
  -    struct ap_dir_t *dir = thedir;
  +    ap_dir_t *dir = thedir;
       if (closedir(dir->dirstruct) == 0) {
           return APR_SUCCESS;
       }
  @@ -73,14 +73,14 @@
    * arg 2) The full path to the directory (use / on all systems)
    * arg 3) The context to use.
    */                        
  -ap_status_t ap_opendir(struct ap_dir_t **new, const char *dirname, ap_context_t *cont)
  +ap_status_t ap_opendir(ap_dir_t **new, const char *dirname, ap_context_t *cont)
   {
       if (new == NULL)
           return APR_EBADARG;
       if (cont == NULL)
           return APR_ENOCONT;
   
  -    (*new) = (struct ap_dir_t *)ap_palloc(cont, sizeof(struct ap_dir_t));
  +    (*new) = (ap_dir_t *)ap_palloc(cont, sizeof(ap_dir_t));
   
       (*new)->cntxt = cont;
       (*new)->dirname = ap_pstrdup(cont, dirname);
  @@ -102,7 +102,7 @@
    *    close the specified directory. 
    * arg 1) the directory descriptor to close.
    */                        
  -ap_status_t ap_closedir(struct ap_dir_t *thedir)
  +ap_status_t ap_closedir(ap_dir_t *thedir)
   {
       ap_status_t rv;
   
  @@ -122,7 +122,7 @@
    * arg 1) the directory descriptor to read from, and fill out.
    * NOTE: All systems return . and .. as the first two files.
    */                        
  -ap_status_t ap_readdir(struct ap_dir_t *thedir)
  +ap_status_t ap_readdir(ap_dir_t *thedir)
   {
   #if APR_HAS_THREADS && defined(_POSIX_THREAD_SAFE_FUNCTIONS) \
       && !defined(READDIR_IS_THREAD_SAFE)
  @@ -159,7 +159,7 @@
    *    Rewind the directory to the first entry. 
    * arg 1) the directory descriptor to rewind.
    */                        
  -ap_status_t ap_rewinddir(struct ap_dir_t *thedir)
  +ap_status_t ap_rewinddir(ap_dir_t *thedir)
   {
       if (thedir == NULL)
           return APR_EBADARG;
  @@ -216,7 +216,7 @@
    * arg 1) the size of the directory entry. 
    * arg 2) the currently open directory.
    */                        
  -ap_status_t ap_dir_entry_size(ap_ssize_t *size, struct ap_dir_t *thedir)
  +ap_status_t ap_dir_entry_size(ap_ssize_t *size, ap_dir_t *thedir)
   {
       struct stat filestat;
       char *fname = NULL;    
  @@ -245,7 +245,7 @@
    * arg 1) the last modified time of the directory entry. 
    * arg 2) the currently open directory.
    */                        
  -ap_status_t ap_dir_entry_mtime(ap_time_t *mtime, struct ap_dir_t *thedir)
  +ap_status_t ap_dir_entry_mtime(ap_time_t *mtime, ap_dir_t *thedir)
   {
       struct stat filestat;
       char *fname = NULL;
  @@ -275,7 +275,7 @@
    * arg 1) the file type of the directory entry. 
    * arg 2) the currently open directory.
    */                        
  -ap_status_t ap_dir_entry_ftype(ap_filetype_e *type, struct ap_dir_t *thedir)
  +ap_status_t ap_dir_entry_ftype(ap_filetype_e *type, ap_dir_t *thedir)
   {
       struct stat filestat;
       char *fname = NULL;
  @@ -320,7 +320,7 @@
    * arg 1) the file name of the directory entry. 
    * arg 2) the currently open directory.
    */                        
  -ap_status_t ap_get_dir_filename(char **new, struct ap_dir_t *thedir)
  +ap_status_t ap_get_dir_filename(char **new, ap_dir_t *thedir)
   {
       if (new == NULL)
           return APR_EBADARG;
  @@ -340,7 +340,7 @@
    * arg 1) The os specific dir we are converting to
    * arg 2) The apr dir to convert.
    */   
  -ap_status_t ap_get_os_dir(ap_os_dir_t **thedir, struct ap_dir_t *dir)
  +ap_status_t ap_get_os_dir(ap_os_dir_t **thedir, ap_dir_t *dir)
   {
       if (dir == NULL) {
           return APR_ENODIR;
  @@ -357,14 +357,14 @@
    * arg 2) The os specific dir to convert
    * arg 3) The context to use when creating to apr directory.
    */
  -ap_status_t ap_put_os_dir(struct ap_dir_t **dir, ap_os_dir_t *thedir,
  +ap_status_t ap_put_os_dir(ap_dir_t **dir, ap_os_dir_t *thedir,
                             ap_context_t *cont)
   {
       if (cont == NULL) {
           return APR_ENOCONT;
       }
       if ((*dir) == NULL) {
  -        (*dir) = (struct ap_dir_t *)ap_palloc(cont, sizeof(struct ap_dir_t));
  +        (*dir) = (ap_dir_t *)ap_palloc(cont, sizeof(ap_dir_t));
           (*dir)->cntxt = cont;
       }
       (*dir)->dirstruct = thedir;
  
  
  
  1.21      +4 -4      apache-2.0/src/lib/apr/file_io/unix/fileacc.c
  
  Index: fileacc.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/unix/fileacc.c,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- fileacc.c	2000/04/03 17:14:06	1.20
  +++ fileacc.c	2000/04/03 19:44:29	1.21
  @@ -54,7 +54,7 @@
   
   #include "fileio.h"
   
  -/* A file to put ALL of the accessor functions for struct ap_file_t types. */
  +/* A file to put ALL of the accessor functions for ap_file_t types. */
   
   /* ***APRDOC********************************************************
    * ap_status_t ap_get_filename(char **new, ap_file_t *thefile)
  @@ -62,7 +62,7 @@
    * arg 1) The path of the file.  
    * arg 2) The currently open file.
    */                     
  -ap_status_t ap_get_filename(char **new, struct ap_file_t *thefile)
  +ap_status_t ap_get_filename(char **new, ap_file_t *thefile)
   {
       if(new == NULL)
           return APR_EBADARG;
  @@ -112,7 +112,7 @@
    * arg 2) The key to use for retreiving data associated with this file.
    * arg 3) The currently open file.
    */                     
  -ap_status_t ap_get_filedata(void **data, char *key, struct ap_file_t *file)
  +ap_status_t ap_get_filedata(void **data, char *key, ap_file_t *file)
   {    
       if(data == NULL || key == NULL)
           return APR_EBADARG;
  @@ -135,7 +135,7 @@
    * arg 3) The key to use for assocaiteing data with the file.
    * arg 4) The cleanup routine to use when the file is destroyed.
    */                     
  -ap_status_t ap_set_filedata(struct ap_file_t *file, void *data, char *key,
  +ap_status_t ap_set_filedata(ap_file_t *file, void *data, char *key,
                               ap_status_t (*cleanup) (void *))
   {    
       if(data == NULL || key == NULL)
  
  
  
  1.14      +3 -3      apache-2.0/src/lib/apr/file_io/unix/filedup.c
  
  Index: filedup.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/unix/filedup.c,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- filedup.c	2000/04/03 17:14:06	1.13
  +++ filedup.c	2000/04/03 19:44:30	1.14
  @@ -61,7 +61,7 @@
    * arg 2) The file to duplicate.
    * NOTE: *arg1 must point to a valid ap_file_t, or point to NULL
    */         
  -ap_status_t ap_dupfile(struct ap_file_t **new_file, struct ap_file_t *old_file)
  +ap_status_t ap_dupfile(ap_file_t **new_file, ap_file_t *old_file)
   {
       char *buf_oflags;
       int have_file = 0;
  @@ -70,8 +70,8 @@
           return APR_EBADARG;
   
       if ((*new_file) == NULL) {
  -        (*new_file) = (struct ap_file_t *)ap_pcalloc(old_file->cntxt,
  -                                   sizeof(struct ap_file_t));
  +        (*new_file) = (ap_file_t *)ap_pcalloc(old_file->cntxt,
  +                                   sizeof(ap_file_t));
           if ((*new_file) == NULL) {
               return APR_ENOMEM;
           }
  
  
  
  1.19      +1 -1      apache-2.0/src/lib/apr/file_io/unix/filestat.c
  
  Index: filestat.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/unix/filestat.c,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- filestat.c	2000/04/03 17:14:07	1.18
  +++ filestat.c	2000/04/03 19:44:30	1.19
  @@ -86,7 +86,7 @@
    * arg 1) Where to store the information about the file.
    * arg 2) The file to get information about. 
    */ 
  -ap_status_t ap_getfileinfo(ap_finfo_t *finfo, struct ap_file_t *thefile)
  +ap_status_t ap_getfileinfo(ap_finfo_t *finfo, ap_file_t *thefile)
   {
       struct stat info;
       int rv;
  
  
  
  1.37      +9 -9      apache-2.0/src/lib/apr/file_io/unix/open.c
  
  Index: open.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/unix/open.c,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- open.c	2000/04/03 17:14:07	1.36
  +++ open.c	2000/04/03 19:44:30	1.37
  @@ -57,7 +57,7 @@
   
   ap_status_t file_cleanup(void *thefile)
   {
  -    struct ap_file_t *file = thefile;
  +    ap_file_t *file = thefile;
       int rv;
   
       if (file->buffered) {
  @@ -100,7 +100,7 @@
    *        called without any mode parameters.  *arg1 must point to a valid
    *        file_t, or NULL (in which case it will be allocated)
    */
  -ap_status_t ap_open(struct ap_file_t **new, const char *fname, ap_int32_t flag,  ap_fileperms_t perm, ap_context_t *cont)
  +ap_status_t ap_open(ap_file_t **new, const char *fname, ap_int32_t flag,  ap_fileperms_t perm, ap_context_t *cont)
   {
       int oflags = 0;
       char *buf_oflags;
  @@ -112,7 +112,7 @@
           return APR_ENOCONT;
   
       if ((*new) == NULL) {
  -        (*new) = (struct ap_file_t *)ap_palloc(cont, sizeof(struct ap_file_t));
  +        (*new) = (ap_file_t *)ap_palloc(cont, sizeof(ap_file_t));
       }
   
       (*new)->cntxt = cont;
  @@ -196,7 +196,7 @@
    *    Close the specified file.
    * arg 1) The file descriptor to close.
    */
  -ap_status_t ap_close(struct ap_file_t *file)
  +ap_status_t ap_close(ap_file_t *file)
   {
       ap_status_t rv;
     
  @@ -239,7 +239,7 @@
    * NOTE:  On Unix, it is only possible to get a file descriptor from 
    *        an apr file type.
    */
  -ap_status_t ap_get_os_file(ap_os_file_t *thefile, struct ap_file_t *file)
  +ap_status_t ap_get_os_file(ap_os_file_t *thefile, ap_file_t *file)
   {
       if (thefile == NULL)
           return APR_EBADARG;
  @@ -267,7 +267,7 @@
    * NOTE:  On Unix, it is only possible to put a file descriptor into
    *        an apr file type.
    */
  -ap_status_t ap_put_os_file(struct ap_file_t **file, ap_os_file_t *thefile,
  +ap_status_t ap_put_os_file(ap_file_t **file, ap_os_file_t *thefile,
                              ap_context_t *cont)
   {
       int *dafile = thefile;
  @@ -279,7 +279,7 @@
           return APR_ENOCONT;
   
       if ((*file) == NULL) {
  -        (*file) = ap_pcalloc(cont, sizeof(struct ap_file_t));
  +        (*file) = ap_pcalloc(cont, sizeof(ap_file_t));
           (*file)->cntxt = cont;
       }
       /* if we are putting in a new file descriptor, then we don't really
  @@ -340,7 +340,7 @@
    * arg 1) The apr file to use as stderr.
    * arg 2) The context to allocate the file out of.
    */
  -ap_status_t ap_open_stderr(struct ap_file_t **thefile, ap_context_t *cont)
  +ap_status_t ap_open_stderr(ap_file_t **thefile, ap_context_t *cont)
   {
       if (thefile == NULL)
           return APR_EBADARG;
  @@ -348,7 +348,7 @@
       if (cont == NULL)
           return APR_ENOCONT;
   
  -    (*thefile) = ap_pcalloc(cont, sizeof(struct ap_file_t));
  +    (*thefile) = ap_pcalloc(cont, sizeof(ap_file_t));
       if ((*thefile) == NULL) {
           return APR_ENOMEM;
       }
  
  
  
  1.19      +5 -5      apache-2.0/src/lib/apr/file_io/unix/pipe.c
  
  Index: pipe.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/unix/pipe.c,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- pipe.c	2000/04/03 17:14:07	1.18
  +++ pipe.c	2000/04/03 19:44:30	1.19
  @@ -54,7 +54,7 @@
   
   #include "fileio.h"
   
  -static ap_status_t pipenonblock(struct ap_file_t *thefile)
  +static ap_status_t pipenonblock(ap_file_t *thefile)
   {
   #ifndef BEOS /* this code won't work on BeOS */
       int fd_flags = fcntl(thefile->filedes, F_GETFL, 0);
  @@ -84,7 +84,7 @@
    * arg 3) The timeout value in seconds.  Values < 0 mean wait forever, 0
    *        means do not wait at all.
    */
  -ap_status_t ap_set_pipe_timeout(struct ap_file_t *thepipe, ap_int32_t timeout)
  +ap_status_t ap_set_pipe_timeout(ap_file_t *thepipe, ap_int32_t timeout)
   {
       if(thepipe == NULL)
           return APR_EBADARG;
  @@ -104,7 +104,7 @@
    * arg 2) The file descriptor to use as output from the pipe.
    * arg 3) The context to operate on.
    */
  -ap_status_t ap_create_pipe(struct ap_file_t **in, struct ap_file_t **out, ap_context_t *cont)
  +ap_status_t ap_create_pipe(ap_file_t **in, ap_file_t **out, ap_context_t *cont)
   {
       int filedes[2];
   
  @@ -118,7 +118,7 @@
           return errno;
       }
       
  -    (*in) = (struct ap_file_t *)ap_palloc(cont, sizeof(struct ap_file_t));
  +    (*in) = (ap_file_t *)ap_palloc(cont, sizeof(ap_file_t));
       (*in)->cntxt = cont;
       (*in)->filedes = filedes[0];
       (*in)->buffered = 0;
  @@ -126,7 +126,7 @@
       (*in)->fname = ap_pstrdup(cont, "PIPE");
       (*in)->timeout = -1;
   
  -    (*out) = (struct ap_file_t *)ap_palloc(cont, sizeof(struct ap_file_t));
  +    (*out) = (ap_file_t *)ap_palloc(cont, sizeof(ap_file_t));
       (*out)->cntxt = cont;
       (*out)->filedes = filedes[1];
       (*out)->buffered = 0;
  
  
  
  1.32      +4 -4      apache-2.0/src/lib/apr/file_io/unix/readwrite.c
  
  Index: readwrite.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/unix/readwrite.c,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- readwrite.c	2000/04/03 17:14:07	1.31
  +++ readwrite.c	2000/04/03 19:44:31	1.32
  @@ -65,7 +65,7 @@
    * the available data is read.  The third argument is modified to reflect the
    * number of bytes read. 
    */
  -ap_status_t ap_read(struct ap_file_t *thefile, void *buf, ap_ssize_t *nbytes)
  +ap_status_t ap_read(ap_file_t *thefile, void *buf, ap_ssize_t *nbytes)
   {
       ap_ssize_t rv;
   
  @@ -147,7 +147,7 @@
    * can.  The third argument is modified to reflect the * number of bytes 
    * written. 
    */
  -ap_status_t ap_write(struct ap_file_t *thefile, void *buf, ap_ssize_t *nbytes)
  +ap_status_t ap_write(ap_file_t *thefile, void *buf, ap_ssize_t *nbytes)
   {
       ap_size_t rv;
   
  @@ -223,7 +223,7 @@
    * arg 4) The number of bytes written.
    */
   #ifdef HAVE_WRITEV
  -ap_status_t ap_writev(struct ap_file_t *thefile, const struct iovec *vec,
  +ap_status_t ap_writev(ap_file_t *thefile, const struct iovec *vec,
                         ap_size_t nvec, ap_ssize_t *nbytes)
   {
       int bytes;
  @@ -423,7 +423,7 @@
   }
   #endif
   
  -API_EXPORT(int) ap_fprintf(struct ap_file_t *fptr, const char *format, ...)
  +API_EXPORT(int) ap_fprintf(ap_file_t *fptr, const char *format, ...)
   {
       int cc;
       va_list ap;
  
  
  
  1.8       +1 -1      apache-2.0/src/lib/apr/file_io/unix/seek.c
  
  Index: seek.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/unix/seek.c,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- seek.c	2000/04/03 17:14:08	1.7
  +++ seek.c	2000/04/03 19:44:31	1.8
  @@ -67,7 +67,7 @@
    * NOTE:  The third argument is modified to be the offset the pointer
    *        was actually moved to.
    */
  -ap_status_t ap_seek(struct ap_file_t *thefile, ap_seek_where_t where, ap_off_t *offset)
  +ap_status_t ap_seek(ap_file_t *thefile, ap_seek_where_t where, ap_off_t *offset)
   {
       ap_off_t rv;
       if (thefile->buffered) {
  
  
  
  1.17      +13 -13    apache-2.0/src/lib/apr/file_io/win32/dir.c
  
  Index: dir.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/win32/dir.c,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- dir.c	2000/04/03 18:40:38	1.16
  +++ dir.c	2000/04/03 19:44:35	1.17
  @@ -71,17 +71,17 @@
   
   ap_status_t dir_cleanup(void *thedir)
   {
  -    struct ap_dir_t *dir = thedir;
  +    ap_dir_t *dir = thedir;
       if (!CloseHandle(dir->dirhand)) {
           return GetLastError();
       }
       return APR_SUCCESS;
   } 
   
  -ap_status_t ap_opendir(struct ap_dir_t **new, const char *dirname, ap_context_t *cont)
  +ap_status_t ap_opendir(ap_dir_t **new, const char *dirname, ap_context_t *cont)
   {
       char * temp;
  -    (*new) = ap_palloc(cont, sizeof(struct ap_dir_t));
  +    (*new) = ap_palloc(cont, sizeof(ap_dir_t));
       (*new)->cntxt = cont;
       (*new)->entry = NULL;
       temp = canonical_filename((*new)->cntxt, dirname);
  @@ -97,7 +97,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_closedir(struct ap_dir_t *thedir)
  +ap_status_t ap_closedir(ap_dir_t *thedir)
   {
       if (!FindClose(thedir->dirhand)) {
           return GetLastError();   
  @@ -106,7 +106,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_readdir(struct ap_dir_t *thedir)
  +ap_status_t ap_readdir(ap_dir_t *thedir)
   {
       if (thedir->dirhand == INVALID_HANDLE_VALUE) {
           thedir->entry = ap_palloc(thedir->cntxt, sizeof(WIN32_FIND_DATA));
  @@ -122,7 +122,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_rewinddir(struct ap_dir_t *thedir)
  +ap_status_t ap_rewinddir(ap_dir_t *thedir)
   {
       ap_status_t stat;
       ap_context_t *cont = thedir->cntxt;
  @@ -157,7 +157,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_dir_entry_size(ap_ssize_t *size, struct ap_dir_t *thedir)
  +ap_status_t ap_dir_entry_size(ap_ssize_t *size, ap_dir_t *thedir)
   {
       if (thedir == NULL || thedir->entry == NULL) {
           return APR_ENODIR;
  @@ -167,7 +167,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_dir_entry_mtime(time_t *time, struct ap_dir_t *thedir)
  +ap_status_t ap_dir_entry_mtime(time_t *time, ap_dir_t *thedir)
   {
       if (thedir == NULL || thedir->entry == NULL) {
           return APR_ENODIR;
  @@ -176,7 +176,7 @@
       return APR_SUCCESS;
   }
    
  -ap_status_t ap_dir_entry_ftype(ap_filetype_e *type, struct ap_dir_t *thedir)
  +ap_status_t ap_dir_entry_ftype(ap_filetype_e *type, ap_dir_t *thedir)
   {
       switch(thedir->entry->dwFileAttributes) {
       case FILE_ATTRIBUTE_DIRECTORY: {
  @@ -194,13 +194,13 @@
       }
   }
   
  -ap_status_t ap_get_dir_filename(char **new, struct ap_dir_t *thedir)
  +ap_status_t ap_get_dir_filename(char **new, ap_dir_t *thedir)
   {
       (*new) = ap_pstrdup(thedir->cntxt, thedir->entry->cFileName);
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_get_os_dir(ap_os_dir_t **thedir, struct ap_dir_t *dir)
  +ap_status_t ap_get_os_dir(ap_os_dir_t **thedir, ap_dir_t *dir)
   {
       if (dir == NULL) {
           return APR_ENODIR;
  @@ -209,13 +209,13 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_put_os_dir(struct ap_dir_t **dir, ap_os_dir_t *thedir, ap_context_t *cont)
  +ap_status_t ap_put_os_dir(ap_dir_t **dir, ap_os_dir_t *thedir, ap_context_t *cont)
   {
       if (cont == NULL) {
           return APR_ENOCONT;
       }
       if ((*dir) == NULL) {
  -        (*dir) = (struct ap_dir_t *)ap_palloc(cont, sizeof(struct ap_dir_t));
  +        (*dir) = (ap_dir_t *)ap_palloc(cont, sizeof(ap_dir_t));
           (*dir)->cntxt = cont;
       }
       (*dir)->dirhand = thedir;
  
  
  
  1.14      +5 -5      apache-2.0/src/lib/apr/file_io/win32/fileacc.c
  
  Index: fileacc.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/win32/fileacc.c,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- fileacc.c	2000/04/03 17:14:09	1.13
  +++ fileacc.c	2000/04/03 19:44:35	1.14
  @@ -60,9 +60,9 @@
   #include <string.h>
   #include <sys/types.h>
   
  -/* A file to put ALL of the accessor functions for struct ap_file_t types. */
  +/* A file to put ALL of the accessor functions for ap_file_t types. */
   
  -ap_status_t ap_get_filename(char **new, struct ap_file_t *thefile)
  +ap_status_t ap_get_filename(char **new, ap_file_t *thefile)
   {
       if (thefile != NULL) {
           *new = ap_pstrdup(thefile->cntxt, thefile->fname);
  @@ -104,7 +104,7 @@
   
   
   /*
  -ap_status_t ap_get_fileperms(ap_fileperms_t *perm, struct ap_file_t *file)
  +ap_status_t ap_get_fileperms(ap_fileperms_t *perm, ap_file_t *file)
   {
       if (file != NULL) {
           *perm = file->protection;
  @@ -117,7 +117,7 @@
   }
   */
   
  -ap_status_t ap_get_filedata(void **data, char *key, struct ap_file_t *file)
  +ap_status_t ap_get_filedata(void **data, char *key, ap_file_t *file)
   {    
       if (file != NULL) {
           return ap_get_userdata(data, key, file->cntxt);
  @@ -128,7 +128,7 @@
       }
   }
                      
  -ap_status_t ap_set_filedata(struct ap_file_t *file, void *data, char *key,
  +ap_status_t ap_set_filedata(ap_file_t *file, void *data, char *key,
                               ap_status_t (*cleanup) (void *))
   {    
       if (file != NULL) {
  
  
  
  1.12      +3 -3      apache-2.0/src/lib/apr/file_io/win32/filedup.c
  
  Index: filedup.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/win32/filedup.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- filedup.c	2000/04/03 17:14:09	1.11
  +++ filedup.c	2000/04/03 19:44:36	1.12
  @@ -58,13 +58,13 @@
   #include "apr_lib.h"
   #include <string.h>
   
  -ap_status_t ap_dupfile(struct ap_file_t **new_file, struct ap_file_t *old_file)
  +ap_status_t ap_dupfile(ap_file_t **new_file, ap_file_t *old_file)
   {
       HANDLE hCurrentProcess = GetCurrentProcess();
   
       if ((*new_file) == NULL) {
  -        (*new_file) = (struct ap_file_t *) ap_pcalloc(old_file->cntxt,
  -                                                   sizeof(struct ap_file_t));
  +        (*new_file) = (ap_file_t *) ap_pcalloc(old_file->cntxt,
  +                                                   sizeof(ap_file_t));
           if ((*new_file) == NULL) {
               return APR_ENOMEM;
           }
  
  
  
  1.11      +1 -1      apache-2.0/src/lib/apr/file_io/win32/filestat.c
  
  Index: filestat.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/win32/filestat.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- filestat.c	2000/04/03 18:40:38	1.10
  +++ filestat.c	2000/04/03 19:44:36	1.11
  @@ -99,7 +99,7 @@
       return FALSE;
   }
   
  -ap_status_t ap_getfileinfo(ap_finfo_t *finfo, struct ap_file_t *thefile)
  +ap_status_t ap_getfileinfo(ap_finfo_t *finfo, ap_file_t *thefile)
   {
       /* TODO: 
        * Windows should call GetFileInformationByHandle(), which is similar 
  
  
  
  1.27      +9 -9      apache-2.0/src/lib/apr/file_io/win32/open.c
  
  Index: open.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/win32/open.c,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- open.c	2000/04/03 18:40:38	1.26
  +++ open.c	2000/04/03 19:44:36	1.27
  @@ -65,7 +65,7 @@
   
   ap_status_t file_cleanup(void *thefile)
   {
  -    struct ap_file_t *file = thefile;
  +    ap_file_t *file = thefile;
       if (!CloseHandle(file->filehand)) {
           return GetLastError();
       }
  @@ -73,7 +73,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_open(struct ap_file_t **dafile, const char *fname, 
  +ap_status_t ap_open(ap_file_t **dafile, const char *fname, 
                       ap_int32_t flag, ap_fileperms_t perm, ap_context_t *cont)
   {
       DWORD oflags = 0;
  @@ -82,7 +82,7 @@
       DWORD sharemode = FILE_SHARE_READ | FILE_SHARE_WRITE;
       ap_oslevel_e level;
   
  -    (*dafile) = (struct ap_file_t *)ap_palloc(cont, sizeof(struct ap_file_t));
  +    (*dafile) = (ap_file_t *)ap_palloc(cont, sizeof(ap_file_t));
   
       (*dafile)->cntxt = cont;
   
  @@ -168,7 +168,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_close(struct ap_file_t *file)
  +ap_status_t ap_close(ap_file_t *file)
   {
       ap_status_t stat;
       if ((stat = file_cleanup(file)) == APR_SUCCESS) {
  @@ -190,7 +190,7 @@
       }
   }
   
  -ap_status_t ap_get_os_file(ap_os_file_t *thefile, struct ap_file_t *file)
  +ap_status_t ap_get_os_file(ap_os_file_t *thefile, ap_file_t *file)
   {
       if (file == NULL) {
           return APR_ENOFILE;
  @@ -199,14 +199,14 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_put_os_file(struct ap_file_t **file, ap_os_file_t *thefile, 
  +ap_status_t ap_put_os_file(ap_file_t **file, ap_os_file_t *thefile, 
                              ap_context_t *cont)
   {
       if ((*file) == NULL) {
           if (cont == NULL) {
               return APR_ENOCONT;
           }
  -        (*file) = (struct ap_file_t *)ap_palloc(cont, sizeof(struct ap_file_t));
  +        (*file) = (ap_file_t *)ap_palloc(cont, sizeof(ap_file_t));
           (*file)->cntxt = cont;
       }
       (*file)->filehand = *thefile;
  @@ -221,9 +221,9 @@
       return APR_SUCCESS;
   }   
   
  -ap_status_t ap_open_stderr(struct ap_file_t **thefile, ap_context_t *cont)
  +ap_status_t ap_open_stderr(ap_file_t **thefile, ap_context_t *cont)
   {
  -    (*thefile) = ap_pcalloc(cont, sizeof(struct ap_file_t));
  +    (*thefile) = ap_pcalloc(cont, sizeof(ap_file_t));
       if ((*thefile) == NULL) {
           return APR_ENOMEM;
       }
  
  
  
  1.10      +6 -6      apache-2.0/src/lib/apr/file_io/win32/pipe.c
  
  Index: pipe.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/win32/pipe.c,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- pipe.c	2000/04/03 17:14:10	1.9
  +++ pipe.c	2000/04/03 19:44:37	1.10
  @@ -62,11 +62,11 @@
   #include <sys/types.h>
   #include <sys/stat.h>
   
  -ap_status_t ap_set_pipe_timeout(struct ap_file_t *thepipe, ap_int32_t timeout)
  +ap_status_t ap_set_pipe_timeout(ap_file_t *thepipe, ap_int32_t timeout)
   {
       return APR_ENOTIMPL;
   }
  -ap_status_t ap_create_pipe(struct ap_file_t **in, struct ap_file_t **out, ap_context_t *cont)
  +ap_status_t ap_create_pipe(ap_file_t **in, ap_file_t **out, ap_context_t *cont)
   {
       SECURITY_ATTRIBUTES sa;
   
  @@ -74,13 +74,13 @@
       sa.bInheritHandle = TRUE;
       sa.lpSecurityDescriptor = NULL;
   
  -    (*in) = (struct ap_file_t *)ap_palloc(cont, sizeof(struct ap_file_t));
  -    memset(*in, '\0', sizeof(struct ap_file_t));
  +    (*in) = (ap_file_t *)ap_palloc(cont, sizeof(ap_file_t));
  +    memset(*in, '\0', sizeof(ap_file_t));
       (*in)->cntxt = cont;
       (*in)->fname = ap_pstrdup(cont, "PIPE");
   
  -    (*out) = (struct ap_file_t *)ap_palloc(cont, sizeof(struct ap_file_t));
  -    memset(*out, '\0', sizeof(struct ap_file_t));
  +    (*out) = (ap_file_t *)ap_palloc(cont, sizeof(ap_file_t));
  +    memset(*out, '\0', sizeof(ap_file_t));
       (*out)->cntxt = cont;
       (*out)->fname = ap_pstrdup(cont, "PIPE");
   
  
  
  
  1.19      +4 -4      apache-2.0/src/lib/apr/file_io/win32/readwrite.c
  
  Index: readwrite.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/win32/readwrite.c,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- readwrite.c	2000/04/03 17:14:10	1.18
  +++ readwrite.c	2000/04/03 19:44:37	1.19
  @@ -62,7 +62,7 @@
   
   #define GetFilePointer(hfile) SetFilePointer(hfile,0,NULL, FILE_CURRENT)
   
  -ap_status_t ap_read(struct ap_file_t *thefile, void *buf, ap_ssize_t *nbytes)
  +ap_status_t ap_read(ap_file_t *thefile, void *buf, ap_ssize_t *nbytes)
   {
       DWORD bread;
       int lasterror;
  @@ -88,7 +88,7 @@
       return lasterror;
   }
   
  -ap_status_t ap_write(struct ap_file_t *thefile, void *buf, ap_ssize_t *nbytes)
  +ap_status_t ap_write(ap_file_t *thefile, void *buf, ap_ssize_t *nbytes)
   {
       DWORD bwrote;
       FILETIME atime, mtime, ctime;
  @@ -116,7 +116,7 @@
   /*
    * Too bad WriteFileGather() is not supported on 95&98 (or NT prior to SP2) 
    */
  -ap_status_t ap_writev(struct ap_file_t *thefile, const struct iovec *vec, ap_size_t nvec, 
  +ap_status_t ap_writev(ap_file_t *thefile, const struct iovec *vec, ap_size_t nvec, 
                         ap_ssize_t *nbytes)
   {
       int i;
  @@ -249,7 +249,7 @@
       return -1;
   }
   
  -API_EXPORT(int) ap_fprintf(struct ap_file_t *fptr, const char *format, ...)
  +API_EXPORT(int) ap_fprintf(ap_file_t *fptr, const char *format, ...)
   {
       int cc;
       va_list ap;
  
  
  
  1.6       +1 -1      apache-2.0/src/lib/apr/file_io/win32/seek.c
  
  Index: seek.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/win32/seek.c,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- seek.c	2000/04/03 17:14:10	1.5
  +++ seek.c	2000/04/03 19:44:37	1.6
  @@ -57,7 +57,7 @@
   #include <errno.h>
   #include <string.h>
   
  -ap_status_t ap_seek(struct ap_file_t *thefile, ap_seek_where_t where, ap_off_t *offset)
  +ap_status_t ap_seek(ap_file_t *thefile, ap_seek_where_t where, ap_off_t *offset)
   {
       DWORD howmove;
       DWORD rv;
  
  
  
  1.29      +2 -2      apache-2.0/src/lib/apr/include/apr_portable.h
  
  Index: apr_portable.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/include/apr_portable.h,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- apr_portable.h	2000/04/03 18:37:08	1.28
  +++ apr_portable.h	2000/04/03 19:44:41	1.29
  @@ -187,7 +187,7 @@
   ap_status_t ap_get_os_imp_time(ap_os_imp_time_t **, ap_time_t *);     
   #if APR_HAS_THREADS
   ap_status_t ap_get_os_thread(ap_os_thread_t *thethd, ap_thread_t *thd);
  -ap_status_t ap_get_os_threadkey(ap_os_threadkey_t *thekey, ap_key_t *key);
  +ap_status_t ap_get_os_threadkey(ap_os_threadkey_t *thekey, ap_threadkey_t *key);
   #endif
   
   ap_status_t ap_put_os_file(ap_file_t **file, ap_os_file_t *thefile, 
  @@ -205,7 +205,7 @@
   #if APR_HAS_THREADS
   ap_status_t ap_put_os_thread(ap_thread_t **thd, ap_os_thread_t *thethd, 
                                ap_context_t *cont);
  -ap_status_t ap_put_os_threadkey(ap_key_t **key, ap_os_threadkey_t *thekey, 
  +ap_status_t ap_put_os_threadkey(ap_threadkey_t **key, ap_os_threadkey_t *thekey, 
                                   ap_context_t *cont);
   #endif
   
  
  
  
  1.16      +7 -7      apache-2.0/src/lib/apr/include/apr_thread_proc.h
  
  Index: apr_thread_proc.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/include/apr_thread_proc.h,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- apr_thread_proc.h	2000/04/03 18:37:08	1.15
  +++ apr_thread_proc.h	2000/04/03 19:44:42	1.16
  @@ -82,7 +82,7 @@
   typedef struct ap_proc_t		  ap_proc_t;
   typedef struct ap_procattr_t         ap_procattr_t;
   
  -typedef struct ap_threadkey_t        ap_key_t;
  +typedef struct ap_threadkey_t        ap_threadkey_t;
   
   typedef void *(API_THREAD_FUNC *ap_thread_start_t)(void *);
   
  @@ -105,15 +105,15 @@
                                 ap_status_t (*cleanup) (void *), 
                                 ap_thread_t *thread);
   
  -ap_status_t ap_create_thread_private(ap_key_t **key, void (*dest)(void *), 
  +ap_status_t ap_create_thread_private(ap_threadkey_t **key, void (*dest)(void *), 
                                        ap_context_t *cont);
  -ap_status_t ap_get_thread_private(void **new, ap_key_t *key);
  -ap_status_t ap_set_thread_private(void *priv, ap_key_t *key);
  -ap_status_t ap_delete_thread_private(ap_key_t *key);
  -ap_status_t ap_get_threadkeydata(void **data, char *key, ap_key_t *threadkey);
  +ap_status_t ap_get_thread_private(void **new, ap_threadkey_t *key);
  +ap_status_t ap_set_thread_private(void *priv, ap_threadkey_t *key);
  +ap_status_t ap_delete_thread_private(ap_threadkey_t *key);
  +ap_status_t ap_get_threadkeydata(void **data, char *key, ap_threadkey_t *threadkey);
   ap_status_t ap_set_threadkeydata(void *data, char *key,
                                    ap_status_t (*cleanup) (void *), 
  -                                 ap_key_t *threadkey);
  +                                 ap_threadkey_t *threadkey);
   
   /* Process Function definitions */
   ap_status_t ap_createprocattr_init(ap_procattr_t **new, ap_context_t *cont);
  
  
  
  1.41      +13 -13    apache-2.0/src/lib/apr/lib/apr_pools.c
  
  Index: apr_pools.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/lib/apr_pools.c,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -r1.40 -r1.41
  --- apr_pools.c	2000/04/03 18:40:40	1.40
  +++ apr_pools.c	2000/04/03 19:44:44	1.41
  @@ -594,7 +594,7 @@
   }
   #endif
   
  -API_EXPORT(void) ap_register_cleanup(struct ap_context_t *p, void *data,
  +API_EXPORT(void) ap_register_cleanup(ap_context_t *p, void *data,
   				      ap_status_t (*plain_cleanup) (void *),
   				      ap_status_t (*child_cleanup) (void *))
   {
  @@ -610,7 +610,7 @@
       }
   }
   
  -API_EXPORT(void) ap_kill_cleanup(struct ap_context_t *p, void *data,
  +API_EXPORT(void) ap_kill_cleanup(ap_context_t *p, void *data,
   				  ap_status_t (*cleanup) (void *))
   {
       struct cleanup *c;
  @@ -631,7 +631,7 @@
       }
   }
   
  -API_EXPORT(void) ap_run_cleanup(struct ap_context_t *p, void *data,
  +API_EXPORT(void) ap_run_cleanup(ap_context_t *p, void *data,
   				 ap_status_t (*cleanup) (void *))
   {
       ap_block_alarms();		/* Run cleanup only once! */
  @@ -776,7 +776,7 @@
       ap_unblock_alarms();
   }
   
  -API_EXPORT(void) ap_clear_pool(struct ap_context_t *a)
  +API_EXPORT(void) ap_clear_pool(ap_context_t *a)
   {
       ap_clear_real_pool(a->pool);
   }
  @@ -807,7 +807,7 @@
       ap_unblock_alarms();
   }
   
  -API_EXPORT(void) ap_destroy_pool(struct ap_context_t *a)
  +API_EXPORT(void) ap_destroy_pool(ap_context_t *a)
   {
       ap_destroy_real_pool(a->pool);
   }
  @@ -1024,7 +1024,7 @@
   #endif
   }
   
  -API_EXPORT(void *) ap_palloc(struct ap_context_t *c, int reqsize)
  +API_EXPORT(void *) ap_palloc(ap_context_t *c, int reqsize)
   {
       if (c == NULL) {
           return malloc(reqsize);
  @@ -1032,14 +1032,14 @@
       return ap_pool_palloc(c->pool, reqsize, c->apr_abort);
   }
   
  -API_EXPORT(void *) ap_pcalloc(struct ap_context_t *a, int size)
  +API_EXPORT(void *) ap_pcalloc(ap_context_t *a, int size)
   {
       void *res = ap_palloc(a, size);
       memset(res, '\0', size);
       return res;
   }
   
  -API_EXPORT(char *) ap_pstrdup(struct ap_context_t *a, const char *s)
  +API_EXPORT(char *) ap_pstrdup(ap_context_t *a, const char *s)
   {
       char *res;
       size_t len;
  @@ -1053,7 +1053,7 @@
       return res;
   }
   
  -API_EXPORT(char *) ap_pstrndup(struct ap_context_t *a, const char *s, int n)
  +API_EXPORT(char *) ap_pstrndup(ap_context_t *a, const char *s, int n)
   {
       char *res;
   
  @@ -1066,7 +1066,7 @@
       return res;
   }
   
  -API_EXPORT_NONSTD(char *) ap_pstrcat(struct ap_context_t *a, ...)
  +API_EXPORT_NONSTD(char *) ap_pstrcat(ap_context_t *a, ...)
   {
       char *cp, *argp, *res;
   
  @@ -1191,7 +1191,7 @@
   #endif
   }
   
  -API_EXPORT(char *) ap_pvsprintf(struct ap_context_t *c, const char *fmt, va_list ap)
  +API_EXPORT(char *) ap_pvsprintf(ap_context_t *c, const char *fmt, va_list ap)
   {
   #ifdef ALLOC_USE_MALLOC
       ap_pool_t *p = c->pool;
  @@ -1256,7 +1256,7 @@
   #endif
   }
   
  -API_EXPORT_NONSTD(char *) ap_psprintf(struct ap_context_t *p, const char *fmt, ...)
  +API_EXPORT_NONSTD(char *) ap_psprintf(ap_context_t *p, const char *fmt, ...)
   {
       va_list ap;
       char *res;
  @@ -1279,7 +1279,7 @@
    * generic interface, but for now, it's a special case
    */
   
  -API_EXPORT(void) ap_note_subprocess(struct ap_context_t *a, ap_proc_t *pid,
  +API_EXPORT(void) ap_note_subprocess(ap_context_t *a, ap_proc_t *pid,
   				     enum kill_conditions how)
   {
       struct process_chain *new =
  
  
  
  1.13      +9 -9      apache-2.0/src/lib/apr/lib/apr_tables.c
  
  Index: apr_tables.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/lib/apr_tables.c,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- apr_tables.c	2000/04/03 18:40:40	1.12
  +++ apr_tables.c	2000/04/03 19:44:44	1.13
  @@ -84,7 +84,7 @@
    * The 'array' functions...
    */
   
  -static void make_array_core(ap_array_header_t *res, struct ap_context_t *c,
  +static void make_array_core(ap_array_header_t *res, ap_context_t *c,
   			    int nelts, int elt_size)
   {
       /*
  @@ -103,7 +103,7 @@
       res->nalloc = nelts;	/* ...but this many allocated */
   }
   
  -API_EXPORT(ap_array_header_t *) ap_make_array(struct ap_context_t *p,
  +API_EXPORT(ap_array_header_t *) ap_make_array(ap_context_t *p,
   						int nelts, int elt_size)
   {
       ap_array_header_t *res;
  @@ -155,7 +155,7 @@
       dst->nelts += src->nelts;
   }
   
  -API_EXPORT(ap_array_header_t *) ap_copy_array(struct ap_context_t *p,
  +API_EXPORT(ap_array_header_t *) ap_copy_array(ap_context_t *p,
   						const ap_array_header_t *arr)
   {
       ap_array_header_t *res = ap_make_array(p, arr->nalloc, arr->elt_size);
  @@ -182,7 +182,7 @@
   }
   
   API_EXPORT(ap_array_header_t *)
  -    ap_copy_array_hdr(struct ap_context_t *p,
  +    ap_copy_array_hdr(ap_context_t *p,
   		       const ap_array_header_t *arr)
   {
       ap_array_header_t *res;
  @@ -196,7 +196,7 @@
   /* The above is used here to avoid consing multiple new array bodies... */
   
   API_EXPORT(ap_array_header_t *)
  -    ap_append_arrays(struct ap_context_t *p,
  +    ap_append_arrays(ap_context_t *p,
   		      const ap_array_header_t *first,
   		      const ap_array_header_t *second)
   {
  @@ -212,7 +212,7 @@
    * or if there are no elements in the array.
    * If sep is non-NUL, it will be inserted between elements as a separator.
    */
  -API_EXPORT(char *) ap_array_pstrcat(struct ap_context_t *p,
  +API_EXPORT(char *) ap_array_pstrcat(ap_context_t *p,
   				     const ap_array_header_t *arr,
   				     const char sep)
   {
  @@ -289,7 +289,7 @@
   #endif /* MAKE_TABLE_PROFILE */
   
   
  -API_EXPORT(ap_table_t *) ap_make_table(struct ap_context_t *p, int nelts)
  +API_EXPORT(ap_table_t *) ap_make_table(ap_context_t *p, int nelts)
   {
       ap_table_t *t = ap_palloc(p, sizeof(ap_table_t));
   
  @@ -300,7 +300,7 @@
       return t;
   }
   
  -API_EXPORT(ap_table_t *) ap_copy_table(struct ap_context_t *p, const ap_table_t *t)
  +API_EXPORT(ap_table_t *) ap_copy_table(ap_context_t *p, const ap_table_t *t)
   {
       ap_table_t *new = ap_palloc(p, sizeof(ap_table_t));
   
  @@ -530,7 +530,7 @@
       elts->val = (char *)val;
   }
   
  -API_EXPORT(ap_table_t *) ap_overlay_tables(struct ap_context_t *p,
  +API_EXPORT(ap_table_t *) ap_overlay_tables(ap_context_t *p,
   					     const ap_table_t *overlay,
   					     const ap_table_t *base)
   {
  
  
  
  1.11      +1 -1      apache-2.0/src/lib/apr/locks/beos/crossproc.c
  
  Index: crossproc.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/locks/beos/crossproc.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- crossproc.c	2000/04/03 18:37:13	1.10
  +++ crossproc.c	2000/04/03 19:44:46	1.11
  @@ -123,7 +123,7 @@
       return stat;
   }
   
  -ap_status_t child_init_lock(struct ap_lock_t **lock, ap_context_t *cont, char *fname)
  +ap_status_t child_init_lock(ap_lock_t **lock, ap_context_t *cont, char *fname)
   {
       return APR_SUCCESS;
   }
  
  
  
  1.10      +1 -1      apache-2.0/src/lib/apr/locks/beos/intraproc.c
  
  Index: intraproc.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/locks/beos/intraproc.c,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- intraproc.c	2000/04/03 18:37:13	1.9
  +++ intraproc.c	2000/04/03 19:44:46	1.10
  @@ -68,7 +68,7 @@
       return APR_SUCCESS;
   }    
   
  -ap_status_t create_intra_lock(struct ap_lock_t *new)
  +ap_status_t create_intra_lock(ap_lock_t *new)
   {
       int32 stat;
       new->sem_intraproc = (sem_id)ap_palloc(new->cntxt, sizeof(sem_id));
  
  
  
  1.13      +6 -6      apache-2.0/src/lib/apr/locks/beos/locks.c
  
  Index: locks.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/locks/beos/locks.c,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- locks.c	2000/04/03 18:37:13	1.12
  +++ locks.c	2000/04/03 19:44:46	1.13
  @@ -54,14 +54,14 @@
   
   #include "locks.h"
   
  -ap_status_t ap_create_lock(struct ap_lock_t **lock, ap_locktype_e type, 
  +ap_status_t ap_create_lock(ap_lock_t **lock, ap_locktype_e type, 
                              ap_lockscope_e scope, char *fname, 
                              ap_context_t *cont)
   {
  -    struct ap_lock_t *new;
  +    ap_lock_t *new;
       ap_status_t stat;
       
  -    new = (struct ap_lock_t *)ap_palloc(cont, sizeof(struct ap_lock_t));
  +    new = (ap_lock_t *)ap_palloc(cont, sizeof(ap_lock_t));
       if (new == NULL){
           return APR_ENOMEM;
       }
  @@ -134,7 +134,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_child_init_lock(struct ap_lock_t **lock, char *fname, ap_context_t *cont)
  +ap_status_t ap_child_init_lock(ap_lock_t **lock, char *fname, ap_context_t *cont)
   {
       ap_status_t stat;
       if ((*lock)->scope != APR_CROSS_PROCESS) {
  @@ -145,7 +145,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_get_lockdata(struct ap_lock_t *lock, char *key, void *data)
  +ap_status_t ap_get_lockdata(ap_lock_t *lock, char *key, void *data)
   {
       if (lock != NULL) {
           return ap_get_userdata(data, key, lock->cntxt);
  @@ -156,7 +156,7 @@
       }
   }
   
  -ap_status_t ap_set_lockdata(struct ap_lock_t *lock, void *data, char *key,
  +ap_status_t ap_set_lockdata(ap_lock_t *lock, void *data, char *key,
                               ap_status_t (*cleanup) (void *))
   {
       if (lock != NULL) {
  
  
  
  1.11      +8 -8      apache-2.0/src/lib/apr/locks/os2/locks.c
  
  Index: locks.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/locks/os2/locks.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- locks.c	2000/04/03 18:37:14	1.10
  +++ locks.c	2000/04/03 19:44:48	1.11
  @@ -71,20 +71,20 @@
   
   static ap_status_t lock_cleanup(void *thelock)
   {
  -    struct ap_lock_t *lock = thelock;
  +    ap_lock_t *lock = thelock;
       return ap_destroy_lock(lock);
   }
   
   
   
  -ap_status_t ap_create_lock(struct ap_lock_t **lock, ap_locktype_e type, ap_lockscope_e scope, char *fname, ap_context_t *cont)
  +ap_status_t ap_create_lock(ap_lock_t **lock, ap_locktype_e type, ap_lockscope_e scope, char *fname, ap_context_t *cont)
   {
  -    struct ap_lock_t *new;
  +    ap_lock_t *new;
       ULONG rc;
       char *semname;
       PIB *ppib;
   
  -    new = (struct ap_lock_t *)ap_palloc(cont, sizeof(struct ap_lock_t));
  +    new = (ap_lock_t *)ap_palloc(cont, sizeof(ap_lock_t));
       new->cntxt = cont;
       new->type  = type;
       new->scope = scope;
  @@ -114,7 +114,7 @@
       int rc;
       PIB *ppib;
   
  -    *lock = (struct ap_lock_t *)ap_palloc(cont, sizeof(struct ap_lock_t));
  +    *lock = (ap_lock_t *)ap_palloc(cont, sizeof(ap_lock_t));
   
       if (lock == NULL)
           return APR_ENOMEM;
  @@ -132,7 +132,7 @@
   
   
   
  -ap_status_t ap_lock(struct ap_lock_t *lock)
  +ap_status_t ap_lock(ap_lock_t *lock)
   {
       ULONG rc;
       
  @@ -148,7 +148,7 @@
   
   
   
  -ap_status_t ap_unlock(struct ap_lock_t *lock)
  +ap_status_t ap_unlock(ap_lock_t *lock)
   {
       ULONG rc;
       
  @@ -163,7 +163,7 @@
   
   
   
  -ap_status_t ap_destroy_lock(struct ap_lock_t *lock)
  +ap_status_t ap_destroy_lock(ap_lock_t *lock)
   {
       ULONG rc;
       ap_status_t stat = APR_SUCCESS;
  
  
  
  1.22      +26 -26    apache-2.0/src/lib/apr/locks/unix/crossproc.c
  
  Index: crossproc.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/locks/unix/crossproc.c,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- crossproc.c	2000/04/03 18:37:16	1.21
  +++ crossproc.c	2000/04/03 19:44:50	1.22
  @@ -70,7 +70,7 @@
   
   ap_status_t lock_cleanup(void *lock_)
   {
  -    struct ap_lock_t *lock=lock_;
  +    ap_lock_t *lock=lock_;
       union semun ick;
       
       if (lock->interproc != -1) {
  @@ -80,7 +80,7 @@
       return APR_SUCCESS;
   }    
   
  -ap_status_t create_inter_lock(struct ap_lock_t *new)
  +ap_status_t create_inter_lock(ap_lock_t *new)
   {
       union semun ick;
       struct semid_ds buf;
  @@ -101,7 +101,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t lock_inter(struct ap_lock_t *lock)
  +ap_status_t lock_inter(ap_lock_t *lock)
   {
       lock->curr_locked = 1;
       if (semop(lock->interproc, &op_on, 1) < 0) {
  @@ -110,7 +110,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t unlock_inter(struct ap_lock_t *lock)
  +ap_status_t unlock_inter(ap_lock_t *lock)
   {
       if (semop(lock->interproc, &op_off, 1) < 0) {
           return errno;
  @@ -119,7 +119,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t destroy_inter_lock(struct ap_lock_t *lock)
  +ap_status_t destroy_inter_lock(ap_lock_t *lock)
   {
       ap_status_t stat;
   
  @@ -130,7 +130,7 @@
       return stat;
   }
   
  -ap_status_t child_init_lock(struct ap_lock_t **lock, ap_context_t *cont, char *fname)
  +ap_status_t child_init_lock(ap_lock_t **lock, ap_context_t *cont, char *fname)
   {
       return APR_SUCCESS;
   }
  @@ -142,7 +142,7 @@
   
   ap_status_t lock_cleanup(void *lock_)
   {
  -    struct ap_lock_t *lock=lock_;
  +    ap_lock_t *lock=lock_;
   
       if (lock->curr_locked == 1) {
           if (pthread_mutex_unlock(lock->interproc)) {
  @@ -155,7 +155,7 @@
       return APR_SUCCESS;
   }    
   
  -ap_status_t create_inter_lock(struct ap_lock_t *new)
  +ap_status_t create_inter_lock(ap_lock_t *new)
   {
       ap_status_t stat;
       int fd;
  @@ -198,7 +198,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t lock_inter(struct ap_lock_t *lock)
  +ap_status_t lock_inter(ap_lock_t *lock)
   {
       ap_status_t stat;
       lock->curr_locked = 1;
  @@ -208,7 +208,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t unlock_inter(struct ap_lock_t *lock)
  +ap_status_t unlock_inter(ap_lock_t *lock)
   {
       ap_status_t stat;
   
  @@ -219,7 +219,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t destroy_inter_lock(struct ap_lock_t *lock)
  +ap_status_t destroy_inter_lock(ap_lock_t *lock)
   {
       ap_status_t stat;
       if ((stat = lock_cleanup(lock)) == APR_SUCCESS) {
  @@ -229,7 +229,7 @@
       return stat;
   }
   
  -ap_status_t child_init_lock(struct ap_lock_t **lock, ap_context_t *cont, char *fname)
  +ap_status_t child_init_lock(ap_lock_t **lock, ap_context_t *cont, char *fname)
   {
       return APR_SUCCESS;
   }
  @@ -254,7 +254,7 @@
   
   static ap_status_t lock_cleanup(void *lock_)
   {
  -    struct ap_lock_t *lock=lock_;
  +    ap_lock_t *lock=lock_;
   
       if (lock->curr_locked == 1) {
           if (fcntl(lock->interproc, F_SETLKW, &unlock_it) < 0) {
  @@ -265,7 +265,7 @@
       return APR_SUCCESS;
   }    
   
  -ap_status_t create_inter_lock(struct ap_lock_t *new)
  +ap_status_t create_inter_lock(ap_lock_t *new)
   {
       new->interproc = open(new->fname, O_CREAT | O_WRONLY | O_EXCL, 0644);
   
  @@ -280,7 +280,7 @@
       return APR_SUCCESS; 
   }
   
  -ap_status_t lock_inter(struct ap_lock_t *lock)
  +ap_status_t lock_inter(ap_lock_t *lock)
   {
       lock->curr_locked=1;
       if (fcntl(lock->interproc, F_SETLKW, &lock_it) < 0) {
  @@ -289,7 +289,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t unlock_inter(struct ap_lock_t *lock)
  +ap_status_t unlock_inter(ap_lock_t *lock)
   {
       if (fcntl(lock->interproc, F_SETLKW, &unlock_it) < 0) {
           return errno;
  @@ -298,7 +298,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t destroy_inter_lock(struct ap_lock_t *lock)
  +ap_status_t destroy_inter_lock(ap_lock_t *lock)
   {
       ap_status_t stat;
       if ((stat = lock_cleanup(lock)) == APR_SUCCESS) {
  @@ -308,7 +308,7 @@
       return stat;
   }
   
  -ap_status_t child_init_lock(struct ap_lock_t **lock, ap_context_t *cont, char *fname)
  +ap_status_t child_init_lock(ap_lock_t **lock, ap_context_t *cont, char *fname)
   {
       return APR_SUCCESS;
   }
  @@ -320,7 +320,7 @@
   
   ap_status_t lock_cleanup(void *lock_)
   {
  -    struct ap_lock_t *lock=lock_;
  +    ap_lock_t *lock=lock_;
   
       if (lock->curr_locked == 1) {
           if (flock(lock->interproc, LOCK_UN) < 0) {
  @@ -332,7 +332,7 @@
       return APR_SUCCESS;
   }    
   
  -ap_status_t create_inter_lock(struct ap_lock_t *new)
  +ap_status_t create_inter_lock(ap_lock_t *new)
   {
       new->interproc = open(new->fname, O_CREAT | O_WRONLY | O_EXCL, 0600);
   
  @@ -345,7 +345,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t lock_inter(struct ap_lock_t *lock)
  +ap_status_t lock_inter(ap_lock_t *lock)
   {
       lock->curr_locked = 1;
       if (flock(lock->interproc, LOCK_EX) < 0) {
  @@ -354,7 +354,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t unlock_inter(struct ap_lock_t *lock)
  +ap_status_t unlock_inter(ap_lock_t *lock)
   {
       if (flock(lock->interproc, LOCK_UN) < 0) {
           return errno;
  @@ -363,7 +363,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t destroy_inter_lock(struct ap_lock_t *lock)
  +ap_status_t destroy_inter_lock(ap_lock_t *lock)
   {
       ap_status_t stat;
       if ((stat = lock_cleanup(lock)) == APR_SUCCESS) {
  @@ -373,11 +373,11 @@
       return stat;
   }
   
  -ap_status_t child_init_lock(struct ap_lock_t **lock, ap_context_t *cont, char *fname)
  +ap_status_t child_init_lock(ap_lock_t **lock, ap_context_t *cont, char *fname)
   {
  -    struct ap_lock_t *new;
  +    ap_lock_t *new;
   
  -    new = (struct ap_lock_t *)ap_palloc(cont, sizeof(struct ap_lock_t));
  +    new = (ap_lock_t *)ap_palloc(cont, sizeof(ap_lock_t));
   
       new->fname = ap_pstrdup(cont, fname);
       new->interproc = open(new->fname, O_CREAT | O_WRONLY | O_EXCL, 0600);
  
  
  
  1.13      +5 -5      apache-2.0/src/lib/apr/locks/unix/intraproc.c
  
  Index: intraproc.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/locks/unix/intraproc.c,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- intraproc.c	2000/04/03 18:37:16	1.12
  +++ intraproc.c	2000/04/03 19:44:50	1.13
  @@ -60,11 +60,11 @@
   
   ap_status_t lock_intra_cleanup(void *data)
   {
  -    struct ap_lock_t *lock = (struct ap_lock_t *) data;
  +    ap_lock_t *lock = (ap_lock_t *) data;
       return pthread_mutex_unlock(lock->intraproc);
   }    
   
  -ap_status_t create_intra_lock(struct ap_lock_t *new)
  +ap_status_t create_intra_lock(ap_lock_t *new)
   {
       ap_status_t stat;
       pthread_mutexattr_t mattr;
  @@ -95,12 +95,12 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t lock_intra(struct ap_lock_t *lock)
  +ap_status_t lock_intra(ap_lock_t *lock)
   {
       return pthread_mutex_lock(lock->intraproc);
   }
   
  -ap_status_t unlock_intra(struct ap_lock_t *lock)
  +ap_status_t unlock_intra(ap_lock_t *lock)
   {
       ap_status_t status;
   
  @@ -108,7 +108,7 @@
       return status;
   }
   
  -ap_status_t destroy_intra_lock(struct ap_lock_t *lock)
  +ap_status_t destroy_intra_lock(ap_lock_t *lock)
   {
       ap_status_t stat;
       if ((stat = lock_intra_cleanup(lock)) == APR_SUCCESS) {
  
  
  
  1.24      +12 -12    apache-2.0/src/lib/apr/locks/unix/locks.c
  
  Index: locks.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/locks/unix/locks.c,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- locks.c	2000/04/03 18:37:16	1.23
  +++ locks.c	2000/04/03 19:44:50	1.24
  @@ -76,14 +76,14 @@
    * NOTE:  APR_CROSS_PROCESS may lock both processes and threads, but it is
    *        only guaranteed to lock processes.
    */
  -ap_status_t ap_create_lock(struct ap_lock_t **lock, ap_locktype_e type, 
  +ap_status_t ap_create_lock(ap_lock_t **lock, ap_locktype_e type, 
                              ap_lockscope_e scope, char *fname, 
                              ap_context_t *cont)
   {
  -    struct ap_lock_t *new;
  +    ap_lock_t *new;
       ap_status_t stat;
   
  -    new = (struct ap_lock_t *)ap_palloc(cont, sizeof(struct ap_lock_t));
  +    new = (ap_lock_t *)ap_palloc(cont, sizeof(ap_lock_t));
   
       new->cntxt = cont;
       new->type  = type;
  @@ -124,7 +124,7 @@
    *    Lock a protected region. 
    * arg 1) The lock to set.
    */
  -ap_status_t ap_lock(struct ap_lock_t *lock)
  +ap_status_t ap_lock(ap_lock_t *lock)
   {
       ap_status_t stat;
       if (lock->scope != APR_CROSS_PROCESS) {
  @@ -149,7 +149,7 @@
    *    Unlock a protected region. 
    * arg 1) The lock to reset.
    */
  -ap_status_t ap_unlock(struct ap_lock_t *lock)
  +ap_status_t ap_unlock(ap_lock_t *lock)
   {
       ap_status_t stat;
   
  @@ -177,7 +177,7 @@
    * NOTE:  If the lock is currently active when it is destroyed, it 
    *        will be unlocked first.
    */
  -ap_status_t ap_destroy_lock(struct ap_lock_t *lock)
  +ap_status_t ap_destroy_lock(ap_lock_t *lock)
   {
       ap_status_t stat;
       if (lock->scope != APR_CROSS_PROCESS) {
  @@ -212,7 +212,7 @@
    *        idea to call it regardless, because it makes the code more
    *        portable. 
    */
  -ap_status_t ap_child_init_lock(struct ap_lock_t **lock, char *fname, ap_context_t *cont)
  +ap_status_t ap_child_init_lock(ap_lock_t **lock, char *fname, ap_context_t *cont)
   {
       ap_status_t stat;
       if ((*lock)->scope != APR_CROSS_PROCESS) {
  @@ -230,7 +230,7 @@
    * arg 2) The key to use when retreiving data associated with this lock
    * arg 3) The user data associated with the lock.
    */
  -ap_status_t ap_get_lockdata(struct ap_lock_t *lock, char *key, void *data)
  +ap_status_t ap_get_lockdata(ap_lock_t *lock, char *key, void *data)
   {
       if (lock != NULL) {
           return ap_get_userdata(data, key, lock->cntxt);
  @@ -250,7 +250,7 @@
    * arg 3) The key to use when associating data with this lock
    * arg 4) The cleanup to use when the lock is destroyed.
    */
  -ap_status_t ap_set_lockdata(struct ap_lock_t *lock, void *data, char *key,
  +ap_status_t ap_set_lockdata(ap_lock_t *lock, void *data, char *key,
                               ap_status_t (*cleanup) (void *))
   {
       if (lock != NULL) {
  @@ -268,7 +268,7 @@
    * arg 1) The os specific lock we are converting to.
    * arg 2) The apr lock to convert.
    */
  -ap_status_t ap_get_os_lock(ap_os_lock_t *oslock, struct ap_lock_t *lock)
  +ap_status_t ap_get_os_lock(ap_os_lock_t *oslock, ap_lock_t *lock)
   {
       if (lock == NULL) {
           return APR_ENOLOCK;
  @@ -291,14 +291,14 @@
    * arg 2) The os specific lock to convert.
    * arg 3) The context to use if it is needed.
    */
  -ap_status_t ap_put_os_lock(struct ap_lock_t **lock, ap_os_lock_t *thelock, 
  +ap_status_t ap_put_os_lock(ap_lock_t **lock, ap_os_lock_t *thelock, 
                              ap_context_t *cont)
   {
       if (cont == NULL) {
           return APR_ENOCONT;
       }
       if ((*lock) == NULL) {
  -        (*lock) = (struct ap_lock_t *)ap_palloc(cont, sizeof(struct ap_lock_t));
  +        (*lock) = (ap_lock_t *)ap_palloc(cont, sizeof(ap_lock_t));
           (*lock)->cntxt = cont;
       }
       (*lock)->interproc = thelock->crossproc;
  
  
  
  1.16      +13 -13    apache-2.0/src/lib/apr/locks/win32/locks.c
  
  Index: locks.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/locks/win32/locks.c,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- locks.c	2000/04/03 18:37:18	1.15
  +++ locks.c	2000/04/03 19:44:52	1.16
  @@ -57,14 +57,14 @@
   #include "locks.h"
   #include "apr_portable.h"
   
  -ap_status_t ap_create_lock(struct ap_lock_t **lock, ap_locktype_e type, 
  +ap_status_t ap_create_lock(ap_lock_t **lock, ap_locktype_e type, 
                              ap_lockscope_e scope, char *fname, 
                              ap_context_t *cont)
   {
  -    struct ap_lock_t *newlock;
  +    ap_lock_t *newlock;
       SECURITY_ATTRIBUTES sec;
   
  -    newlock = (struct ap_lock_t *)ap_palloc(cont, sizeof(struct ap_lock_t));
  +    newlock = (ap_lock_t *)ap_palloc(cont, sizeof(ap_lock_t));
   
       newlock->cntxt = cont;
       /* ToDo:  How to handle the case when no context is available? 
  @@ -92,12 +92,12 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_child_init_lock(struct ap_lock_t **lock, char *fname, ap_context_t *cont)
  +ap_status_t ap_child_init_lock(ap_lock_t **lock, char *fname, ap_context_t *cont)
   {
       /* This routine should not be called (and OpenMutex will fail if called) 
        * on a INTRAPROCESS lock
        */
  -    (*lock) = (struct ap_lock_t *)ap_palloc(cont, sizeof(struct ap_lock_t));
  +    (*lock) = (ap_lock_t *)ap_palloc(cont, sizeof(ap_lock_t));
   
       if ((*lock) == NULL) {
           return APR_ENOMEM;
  @@ -111,7 +111,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_lock(struct ap_lock_t *lock)
  +ap_status_t ap_lock(ap_lock_t *lock)
   {
       DWORD rv;
       if (lock->scope == APR_INTRAPROCESS) {
  @@ -130,7 +130,7 @@
       return APR_EEXIST;
   }
   
  -ap_status_t ap_unlock(struct ap_lock_t *lock)
  +ap_status_t ap_unlock(ap_lock_t *lock)
   {
       if (lock->scope == APR_INTRAPROCESS) {
           LeaveCriticalSection(&lock->section);
  @@ -143,7 +143,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_destroy_lock(struct ap_lock_t *lock)
  +ap_status_t ap_destroy_lock(ap_lock_t *lock)
   {
       if (lock->scope == APR_INTRAPROCESS) {
           DeleteCriticalSection(&lock->section);
  @@ -156,7 +156,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_get_lockdata(struct ap_lock_t *lock, char *key, void *data)
  +ap_status_t ap_get_lockdata(ap_lock_t *lock, char *key, void *data)
   {
       if (lock != NULL) {
           return ap_get_userdata(data, key, lock->cntxt);
  @@ -167,7 +167,7 @@
       }
   }
   
  -ap_status_t ap_set_lockdata(struct ap_lock_t *lock, void *data, char *key,
  +ap_status_t ap_set_lockdata(ap_lock_t *lock, void *data, char *key,
                               ap_status_t (*cleanup) (void *))
   {
       if (lock != NULL) {
  @@ -179,7 +179,7 @@
       }
   }
   
  -ap_status_t ap_get_os_lock(ap_os_lock_t *thelock, struct ap_lock_t *lock)
  +ap_status_t ap_get_os_lock(ap_os_lock_t *thelock, ap_lock_t *lock)
   {
       if (lock == NULL) {
           return APR_ENOFILE;
  @@ -188,14 +188,14 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_put_os_lock(struct ap_lock_t **lock, ap_os_lock_t *thelock, 
  +ap_status_t ap_put_os_lock(ap_lock_t **lock, ap_os_lock_t *thelock, 
                              ap_context_t *cont)
   {
       if (cont == NULL) {
           return APR_ENOCONT;
       }
       if ((*lock) == NULL) {
  -        (*lock) = (struct ap_lock_t *)ap_palloc(cont, sizeof(struct ap_lock_t));
  +        (*lock) = (ap_lock_t *)ap_palloc(cont, sizeof(ap_lock_t));
           (*lock)->cntxt = cont;
       }
       (*lock)->mutex = *thelock;
  
  
  
  1.15      +4 -4      apache-2.0/src/lib/apr/misc/beos/start.c
  
  Index: start.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/misc/beos/start.c,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- start.c	2000/04/03 18:37:21	1.14
  +++ start.c	2000/04/03 19:44:54	1.15
  @@ -54,7 +54,7 @@
   
   #include "misc.h"
   
  -ap_status_t ap_create_context(struct ap_context_t **newcont, struct ap_context_t *cont)
  +ap_status_t ap_create_context(ap_context_t **newcont, ap_context_t *cont)
   {
       ap_context_t *new;
       ap_pool_t *pool;
  @@ -70,7 +70,7 @@
           return APR_ENOPOOL;
       }
       
  -    new = (struct ap_context_t *)ap_palloc(cont, sizeof(struct ap_context_t));
  +    new = (ap_context_t *)ap_palloc(cont, sizeof(ap_context_t));
       
       new->pool = pool;
       new->prog_data = NULL;
  @@ -87,7 +87,7 @@
   
   ap_status_t ap_set_userdata(void *data, char *key,
                               ap_status_t (*cleanup) (void *),
  -                            struct ap_context_t *cont)
  +                            ap_context_t *cont)
   {
       datastruct *dptr = NULL, *dptr2 = NULL;
       if (cont) { 
  @@ -117,7 +117,7 @@
       return APR_ENOCONT;
   }
   
  -ap_status_t ap_get_userdata(void **data, char *key, struct ap_context_t *cont)
  +ap_status_t ap_get_userdata(void **data, char *key, ap_context_t *cont)
   {
       datastruct *dptr = NULL;
       if (cont) { 
  
  
  
  1.6       +1 -1      apache-2.0/src/lib/apr/misc/unix/getopt.c
  
  Index: getopt.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/misc/unix/getopt.c,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- getopt.c	2000/04/03 18:37:22	1.5
  +++ getopt.c	2000/04/03 19:44:55	1.6
  @@ -60,7 +60,7 @@
    * NOTE:  Arguments 2 and 3 are most commonly argc and argv from 
    *        main(argc, argv)
    */
  -ap_status_t ap_getopt(ap_int32_t nargc, char *const *nargv, const char *ostr, ap_int32_t *rv, struct ap_context_t *cont)
  +ap_status_t ap_getopt(ap_int32_t nargc, char *const *nargv, const char *ostr, ap_int32_t *rv, ap_context_t *cont)
   {
       char *p;
       static char *place = EMSG;   /* option letter processing */
  
  
  
  1.24      +7 -7      apache-2.0/src/lib/apr/misc/unix/start.c
  
  Index: start.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/misc/unix/start.c,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- start.c	2000/04/03 18:37:23	1.23
  +++ start.c	2000/04/03 19:44:56	1.24
  @@ -64,9 +64,9 @@
    *        of it's parent context's attributes, except the ap_context_t will be a
    *        sub-pool.
    */
  -ap_status_t ap_create_context(struct ap_context_t **newcont, struct ap_context_t *cont)
  +ap_status_t ap_create_context(ap_context_t **newcont, ap_context_t *cont)
   {
  -    struct ap_context_t *new;
  +    ap_context_t *new;
       ap_pool_t *pool;
   
       if (cont) {
  @@ -80,7 +80,7 @@
           return APR_ENOPOOL;
       }   
   
  -    new = (struct ap_context_t *)ap_palloc(cont, sizeof(struct ap_context_t));
  +    new = (ap_context_t *)ap_palloc(cont, sizeof(ap_context_t));
   
       new->pool = pool;
       new->prog_data = NULL;
  @@ -95,7 +95,7 @@
    *    Free the context and all of it's child contexts'.
    * arg 1) The context to free.
    */
  -ap_status_t ap_destroy_context(struct ap_context_t *cont)
  +ap_status_t ap_destroy_context(ap_context_t *cont)
   {
       ap_destroy_pool(cont);
       return APR_SUCCESS;
  @@ -121,7 +121,7 @@
    */
   ap_status_t ap_set_userdata(void *data, char *key,
                               ap_status_t (*cleanup) (void *),
  -                            struct ap_context_t *cont)
  +                            ap_context_t *cont)
   {
       datastruct *dptr = NULL, *dptr2 = NULL;
       if (cont) { 
  @@ -158,7 +158,7 @@
    * arg 2) The user data associated with the context.
    * arg 3) The current context.
    */
  -ap_status_t ap_get_userdata(void **data, char *key, struct ap_context_t *cont)
  +ap_status_t ap_get_userdata(void **data, char *key, ap_context_t *cont)
   {
       datastruct *dptr = NULL;
       if (cont) { 
  @@ -215,7 +215,7 @@
    *        then APR will return an error and expect the calling program to
    *        deal with the error accordingly.
    */
  -ap_status_t ap_set_abort(int (*apr_abort)(int retcode), struct ap_context_t *cont)
  +ap_status_t ap_set_abort(int (*apr_abort)(int retcode), ap_context_t *cont)
   {
       if (cont == NULL) {
           return APR_ENOCONT;
  
  
  
  1.5       +1 -1      apache-2.0/src/lib/apr/misc/win32/getopt.c
  
  Index: getopt.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/misc/win32/getopt.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- getopt.c	2000/04/03 18:37:25	1.4
  +++ getopt.c	2000/04/03 19:44:57	1.5
  @@ -63,7 +63,7 @@
    * NOTE:  Arguments 2 and 3 are most commonly argc and argv from 
    *        main(argc, argv)
    */
  -ap_status_t ap_getopt(ap_int32_t nargc, char *const *nargv, const char *ostr, ap_int32_t *rv, struct ap_context_t *cont)
  +ap_status_t ap_getopt(ap_int32_t nargc, char *const *nargv, const char *ostr, ap_int32_t *rv, ap_context_t *cont)
   {
       char *p;
       static char *place = EMSG;   /* option letter processing */
  
  
  
  1.7       +2 -2      apache-2.0/src/lib/apr/misc/win32/names.c
  
  Index: names.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/misc/win32/names.c,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- names.c	2000/04/03 18:40:41	1.6
  +++ names.c	2000/04/03 19:44:58	1.7
  @@ -82,7 +82,7 @@
    * is present on the existing path.  This routine also
    * converts alias names to long names.
    */
  -API_EXPORT(char *) ap_os_systemcase_filename(struct ap_context_t *pCont, 
  +API_EXPORT(char *) ap_os_systemcase_filename(ap_context_t *pCont, 
                                                const char *szFile)
   {
       char buf[HUGE_STRING_LEN];
  @@ -201,7 +201,7 @@
   /*  Perform canonicalization with the exception that the
    *  input case is preserved.
    */
  -char * canonical_filename(struct ap_context_t *pCont, const char *szFile)
  +char * canonical_filename(ap_context_t *pCont, const char *szFile)
   {
       char *pNewStr;
       char *s;
  
  
  
  1.18      +2 -2      apache-2.0/src/lib/apr/misc/win32/start.c
  
  Index: start.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/misc/win32/start.c,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- start.c	2000/04/03 18:40:41	1.17
  +++ start.c	2000/04/03 19:44:58	1.18
  @@ -144,7 +144,7 @@
   
   ap_status_t ap_set_userdata(void *data, char *key,
                               ap_status_t (*cleanup) (void *),
  -                            struct ap_context_t *cont)
  +                            ap_context_t *cont)
   {
       datastruct *dptr = NULL, *dptr2 = NULL;
       if (cont) { 
  @@ -174,7 +174,7 @@
       return APR_ENOCONT;
   }
   
  -ap_status_t ap_get_userdata(void **data, char *key, struct ap_context_t *cont)
  +ap_status_t ap_get_userdata(void **data, char *key, ap_context_t *cont)
   {
       datastruct *dptr = NULL;
       if (cont) { 
  
  
  
  1.10      +4 -4      apache-2.0/src/lib/apr/mmap/beos/mmap.c
  
  Index: mmap.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/mmap/beos/mmap.c,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- mmap.c	2000/04/03 18:37:28	1.9
  +++ mmap.c	2000/04/03 19:45:00	1.10
  @@ -56,7 +56,7 @@
   
   ap_status_t mmap_cleanup(void *themmap)
   {
  -    struct ap_mmap_t *mm = themmap;
  +    ap_mmap_t *mm = themmap;
       int rv;
       rv = delete_area(mm->area);
   
  @@ -69,7 +69,7 @@
           return errno;
   }
   
  -ap_status_t ap_mmap_create(struct ap_mmap_t **new, ap_file_t *file, ap_off_t offset, ap_size_t size,
  +ap_status_t ap_mmap_create(ap_mmap_t **new, ap_file_t *file, ap_off_t offset, ap_size_t size,
                   ap_context_t *cont)
   {
       void *mm;
  @@ -79,7 +79,7 @@
   
       if (file == NULL || file->buffered || file->filedes == -1)
           return APR_EBADF;
  -    (*new) = (struct ap_mmap_t *)ap_palloc(cont, sizeof(struct ap_mmap_t));
  +    (*new) = (ap_mmap_t *)ap_palloc(cont, sizeof(ap_mmap_t));
       
       pages = ((size -1) / B_PAGE_SIZE) + 1;
   
  @@ -108,7 +108,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_mmap_delete(struct ap_mmap_t *mmap)
  +ap_status_t ap_mmap_delete(ap_mmap_t *mmap)
   {
       ap_status_t rv;
       if (mmap->area == -1)
  
  
  
  1.14      +3 -3      apache-2.0/src/lib/apr/mmap/unix/mmap.c
  
  Index: mmap.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/mmap/unix/mmap.c,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- mmap.c	2000/04/03 18:37:29	1.13
  +++ mmap.c	2000/04/03 19:45:01	1.14
  @@ -64,7 +64,7 @@
   
   ap_status_t mmap_cleanup(void *themmap)
   {
  -    struct ap_mmap_t *mm = themmap;
  +    ap_mmap_t *mm = themmap;
       int rv;
       rv = munmap(mm->mm, mm->size);
   
  @@ -93,7 +93,7 @@
       if (file == NULL || file->buffered || file->filedes == -1)
           return APR_EBADF;
   
  -    (*new) = (struct ap_mmap_t *)ap_palloc(cont, sizeof(struct ap_mmap_t));
  +    (*new) = (ap_mmap_t *)ap_palloc(cont, sizeof(ap_mmap_t));
       
       ap_seek(file, APR_SET, &offset);
       mm = mmap(NULL, size, PROT_READ, MAP_SHARED, file->filedes ,0);
  @@ -117,7 +117,7 @@
    *    Remove a mmap'ed.
    * arg 1) The mmap'ed file.
    */
  -ap_status_t ap_mmap_delete(struct ap_mmap_t *mmap)
  +ap_status_t ap_mmap_delete(ap_mmap_t *mmap)
   {
       ap_status_t rv;
   
  
  
  
  1.11      +11 -11    apache-2.0/src/lib/apr/network_io/beos/poll.c
  
  Index: poll.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/network_io/beos/poll.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- poll.c	2000/04/03 18:37:30	1.10
  +++ poll.c	2000/04/03 19:45:03	1.11
  @@ -63,9 +63,9 @@
   /*  select for R4.5 of BeOS.  So here we use code that uses the write */
   /*  bits. */
       
  -ap_status_t ap_setup_poll(struct ap_pollfd_t **new, ap_int32_t num, ap_context_t *cont)
  +ap_status_t ap_setup_poll(ap_pollfd_t **new, ap_int32_t num, ap_context_t *cont)
   {
  -    (*new) = (struct ap_pollfd_t *)ap_palloc(cont, sizeof(struct ap_pollfd_t) * num);
  +    (*new) = (ap_pollfd_t *)ap_palloc(cont, sizeof(ap_pollfd_t) * num);
       if ((*new) == NULL) {
           return APR_ENOMEM;
       }
  @@ -80,8 +80,8 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_add_poll_socket(struct ap_pollfd_t *aprset,
  -                               struct ap_socket_t *sock, ap_int16_t event)
  +ap_status_t ap_add_poll_socket(ap_pollfd_t *aprset,
  +                               ap_socket_t *sock, ap_int16_t event)
   {
       if (event & APR_POLLIN) {
           FD_SET(sock->socketdes, aprset->read);
  @@ -98,7 +98,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_poll(struct ap_pollfd_t *aprset, ap_int32_t *nsds, ap_int32_t timeout)
  +ap_status_t ap_poll(ap_pollfd_t *aprset, ap_int32_t *nsds, ap_int32_t timeout)
   {
       int rv;
       struct timeval *thetime;
  @@ -127,7 +127,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_get_revents(ap_int16_t *event, struct ap_socket_t *sock, struct ap_pollfd_t *aprset)
  +ap_status_t ap_get_revents(ap_int16_t *event, ap_socket_t *sock, ap_pollfd_t *aprset)
   {
       ap_int16_t revents = 0;
       char data[256];
  @@ -172,8 +172,8 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_remove_poll_socket(struct ap_pollfd_t *aprset, 
  -                                  struct ap_socket_t *sock, ap_int16_t events)
  +ap_status_t ap_remove_poll_socket(ap_pollfd_t *aprset, 
  +                                  ap_socket_t *sock, ap_int16_t events)
   {
       if (events & APR_POLLIN) {
           FD_CLR(sock->socketdes, aprset->read);
  @@ -187,7 +187,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_clear_poll_sockets(struct ap_pollfd_t *aprset, ap_int16_t event)
  +ap_status_t ap_clear_poll_sockets(ap_pollfd_t *aprset, ap_int16_t event)
   {
       if (event & APR_POLLIN) {
           FD_ZERO(aprset->read);
  @@ -202,7 +202,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_get_polldata(struct ap_pollfd_t *pollfd, char *key, void *data)
  +ap_status_t ap_get_polldata(ap_pollfd_t *pollfd, char *key, void *data)
   {
       if (pollfd != NULL) {
           return ap_get_userdata(data, key, pollfd->cntxt);
  @@ -213,7 +213,7 @@
       }
   }
   
  -ap_status_t ap_set_polldata(struct ap_pollfd_t *pollfd, void *data, char *key,
  +ap_status_t ap_set_polldata(ap_pollfd_t *pollfd, void *data, char *key,
                               ap_status_t (*cleanup) (void *))
   {
       if (pollfd != NULL) {
  
  
  
  1.7       +2 -2      apache-2.0/src/lib/apr/network_io/beos/sendrecv.c
  
  Index: sendrecv.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/network_io/beos/sendrecv.c,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- sendrecv.c	2000/04/03 18:37:31	1.6
  +++ sendrecv.c	2000/04/03 19:45:03	1.7
  @@ -54,7 +54,7 @@
   
   #include "networkio.h"
   
  -ap_status_t ap_send(struct ap_socket_t *sock, const char *buf, ap_ssize_t *len)
  +ap_status_t ap_send(ap_socket_t *sock, const char *buf, ap_ssize_t *len)
   {
       ssize_t rv;
   	
  @@ -99,7 +99,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_recv(struct ap_socket_t *sock, char *buf, ap_ssize_t *len)
  +ap_status_t ap_recv(ap_socket_t *sock, char *buf, ap_ssize_t *len)
   {
       ap_ssize_t rv;
      
  
  
  
  1.8       +10 -10    apache-2.0/src/lib/apr/network_io/beos/sockaddr.c
  
  Index: sockaddr.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/network_io/beos/sockaddr.c,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- sockaddr.c	2000/04/03 18:37:31	1.7
  +++ sockaddr.c	2000/04/03 19:45:03	1.8
  @@ -54,7 +54,7 @@
   
   #include "networkio.h"
   
  -ap_status_t ap_set_local_port(struct ap_socket_t *sock, ap_uint32_t port)
  +ap_status_t ap_set_local_port(ap_socket_t *sock, ap_uint32_t port)
   {
       if (!sock) {
           return APR_EBADF;
  @@ -63,7 +63,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_set_remote_port(struct ap_socket_t *sock, ap_uint32_t port)
  +ap_status_t ap_set_remote_port(ap_socket_t *sock, ap_uint32_t port)
   {
       if (!sock) {
           return APR_EBADF;
  @@ -72,7 +72,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_get_local_port(ap_uint32_t *port, struct ap_socket_t *sock)
  +ap_status_t ap_get_local_port(ap_uint32_t *port, ap_socket_t *sock)
   {
       if (!sock) {
           return APR_EBADF;
  @@ -81,7 +81,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_get_remote_port(ap_uint32_t *port, struct ap_socket_t *sock)
  +ap_status_t ap_get_remote_port(ap_uint32_t *port, ap_socket_t *sock)
   {
       if (!sock) {
           return APR_EBADF;
  @@ -90,7 +90,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_set_local_ipaddr(struct ap_socket_t *sock, const char *addr)
  +ap_status_t ap_set_local_ipaddr(ap_socket_t *sock, const char *addr)
   {
       u_long ipaddr;
   
  @@ -113,7 +113,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_set_remote_ipaddr(struct ap_socket_t *sock, const char *addr)
  +ap_status_t ap_set_remote_ipaddr(ap_socket_t *sock, const char *addr)
   {
       u_long ipaddr;
   
  @@ -136,7 +136,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_get_local_ipaddr(char **addr, const struct ap_socket_t *sock)
  +ap_status_t ap_get_local_ipaddr(char **addr, const ap_socket_t *sock)
   {
       if (!sock) {
           return APR_EBADF;
  @@ -146,7 +146,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_get_remote_ipaddr(char **addr, const struct ap_socket_t *sock)
  +ap_status_t ap_get_remote_ipaddr(char **addr, const ap_socket_t *sock)
   {
       if (!sock) {
           return APR_EBADF;
  @@ -157,7 +157,7 @@
   }
   
   
  -ap_status_t ap_get_local_name(struct sockaddr_in **name, const struct ap_socket_t *sock)
  +ap_status_t ap_get_local_name(struct sockaddr_in **name, const ap_socket_t *sock)
   {
       if (!sock) {
           return APR_EBADF;
  @@ -167,7 +167,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_get_remote_name(struct sockaddr_in **name, const struct ap_socket_t *sock)
  +ap_status_t ap_get_remote_name(struct sockaddr_in **name, const ap_socket_t *sock)
   {
       if (!sock) {
           return APR_EBADF;
  
  
  
  1.21      +15 -15    apache-2.0/src/lib/apr/network_io/beos/sockets.c
  
  Index: sockets.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/network_io/beos/sockets.c,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- sockets.c	2000/04/03 18:37:31	1.20
  +++ sockets.c	2000/04/03 19:45:04	1.21
  @@ -56,7 +56,7 @@
   
   ap_status_t socket_cleanup(void *sock)
   {
  -    struct ap_socket_t *thesocket = sock;
  +    ap_socket_t *thesocket = sock;
       if (closesocket(thesocket->socketdes) == 0) {
           thesocket->socketdes = -1;
           return APR_SUCCESS;
  @@ -66,9 +66,9 @@
       }
   }
   
  -ap_status_t ap_create_tcp_socket(struct ap_socket_t **new, ap_context_t *cont)
  +ap_status_t ap_create_tcp_socket(ap_socket_t **new, ap_context_t *cont)
   {
  -    (*new) = (struct ap_socket_t *)ap_palloc(cont,sizeof(struct ap_socket_t));
  +    (*new) = (ap_socket_t *)ap_palloc(cont,sizeof(ap_socket_t));
       
       if ((*new) == NULL){
           return APR_ENOMEM;
  @@ -100,18 +100,18 @@
       return APR_SUCCESS;
   } 
   
  -ap_status_t ap_shutdown(struct ap_socket_t *thesocket, ap_shutdown_how_e how)
  +ap_status_t ap_shutdown(ap_socket_t *thesocket, ap_shutdown_how_e how)
   {
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_close_socket(struct ap_socket_t *thesocket)
  +ap_status_t ap_close_socket(ap_socket_t *thesocket)
   {
       ap_kill_cleanup(thesocket->cntxt,thesocket,socket_cleanup);
       return socket_cleanup(thesocket);
   }
   
  -ap_status_t ap_bind(struct ap_socket_t *sock) 
  +ap_status_t ap_bind(ap_socket_t *sock) 
   { 
       if (bind(sock->socketdes, (struct sockaddr *)sock->local_addr, sock->addr_len) == -1) 
           return errno; 
  @@ -119,7 +119,7 @@
           return APR_SUCCESS; 
   } 
    
  -ap_status_t ap_listen(struct ap_socket_t *sock, ap_int32_t backlog) 
  +ap_status_t ap_listen(ap_socket_t *sock, ap_int32_t backlog) 
   { 
       if (listen(sock->socketdes, backlog) == -1) 
           return errno; 
  @@ -127,9 +127,9 @@
           return APR_SUCCESS; 
   } 
   
  -ap_status_t ap_accept(struct ap_socket_t **new, const struct ap_socket_t *sock, struct ap_context_t *connection_context) 
  +ap_status_t ap_accept(ap_socket_t **new, const ap_socket_t *sock, ap_context_t *connection_context) 
   { 
  -	(*new) = (struct ap_socket_t *)ap_palloc(connection_context,
  +	(*new) = (ap_socket_t *)ap_palloc(connection_context,
   	                        sizeof(ap_socket_t)); 
   
       (*new)->cntxt = connection_context;
  @@ -157,7 +157,7 @@
       return APR_SUCCESS;
   } 
    
  -ap_status_t ap_connect(struct ap_socket_t *sock, char *hostname) 
  +ap_status_t ap_connect(ap_socket_t *sock, char *hostname) 
   { 
       struct hostent *hp; 
   
  @@ -186,7 +186,7 @@
       return APR_SUCCESS; 
   } 
   
  -ap_status_t ap_get_socketdata(void **data, char *key, struct ap_socket_t *sock)
  +ap_status_t ap_get_socketdata(void **data, char *key, ap_socket_t *sock)
   {
       if (socket != NULL) {
           return ap_get_userdata(data, key, sock->cntxt);
  @@ -197,7 +197,7 @@
       }
   }
   
  -ap_status_t ap_set_socketdata(struct ap_socket_t *sock, void *data, char *key,
  +ap_status_t ap_set_socketdata(ap_socket_t *sock, void *data, char *key,
                                 ap_status_t (*cleanup) (void *))
   {
       if (sock != NULL) {
  @@ -209,7 +209,7 @@
       }
   }
   
  -ap_status_t ap_get_os_sock(ap_os_sock_t *thesock, struct ap_socket_t *sock)
  +ap_status_t ap_get_os_sock(ap_os_sock_t *thesock, ap_socket_t *sock)
   {
       if (sock == NULL) {
           return APR_ENOSOCKET;
  @@ -218,14 +218,14 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_put_os_sock(struct ap_socket_t **sock, ap_os_sock_t *thesock, 
  +ap_status_t ap_put_os_sock(ap_socket_t **sock, ap_os_sock_t *thesock, 
                              ap_context_t *cont)
   {
       if (cont == NULL) {
           return APR_ENOCONT;
       }
       if ((*sock) == NULL) {
  -        (*sock) = (struct ap_socket_t *)ap_palloc(cont, sizeof(struct ap_socket_t));
  +        (*sock) = (ap_socket_t *)ap_palloc(cont, sizeof(ap_socket_t));
           (*sock)->cntxt = cont;
       }
       (*sock)->socketdes = *thesock;
  
  
  
  1.14      +2 -2      apache-2.0/src/lib/apr/network_io/beos/sockopt.c
  
  Index: sockopt.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/network_io/beos/sockopt.c,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- sockopt.c	2000/04/03 18:37:31	1.13
  +++ sockopt.c	2000/04/03 19:45:04	1.14
  @@ -54,7 +54,7 @@
   
   #include "networkio.h"
   
  -ap_status_t ap_setsocketopt(struct ap_socket_t *sock, ap_int32_t opt, ap_int32_t on)
  +ap_status_t ap_setsocketopt(ap_socket_t *sock, ap_int32_t opt, ap_int32_t on)
   {
       int one;
       if (on){
  @@ -92,7 +92,7 @@
   	}
   }
   
  -ap_status_t ap_get_remote_hostname(char **name, struct ap_socket_t *sock)
  +ap_status_t ap_get_remote_hostname(char **name, ap_socket_t *sock)
   {
       struct hostent *hptr;
       
  
  
  
  1.11      +8 -8      apache-2.0/src/lib/apr/network_io/os2/poll.c
  
  Index: poll.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/network_io/os2/poll.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- poll.c	2000/04/03 18:37:33	1.10
  +++ poll.c	2000/04/03 19:45:07	1.11
  @@ -64,9 +64,9 @@
   
   /*  OS/2 doesn't have a poll function, implement using OS/2 style select */
    
  -ap_status_t ap_setup_poll(struct ap_pollfd_t **new, ap_int32_t num, ap_context_t *cont)
  +ap_status_t ap_setup_poll(ap_pollfd_t **new, ap_int32_t num, ap_context_t *cont)
   {
  -    *new = (struct ap_pollfd_t *)ap_palloc(cont, sizeof(struct ap_pollfd_t));
  +    *new = (ap_pollfd_t *)ap_palloc(cont, sizeof(ap_pollfd_t));
   
       if (*new == NULL) {
           return APR_ENOMEM;
  @@ -95,8 +95,8 @@
   
   
   
  -ap_status_t ap_add_poll_socket(struct ap_pollfd_t *aprset, 
  -			       struct ap_socket_t *sock, ap_int16_t events)
  +ap_status_t ap_add_poll_socket(ap_pollfd_t *aprset, 
  +			       ap_socket_t *sock, ap_int16_t events)
   {
       int i;
       
  @@ -126,7 +126,7 @@
   
   
   
  -ap_status_t ap_poll(struct ap_pollfd_t *pollfdset, ap_int32_t *nsds, ap_int32_t timeout)
  +ap_status_t ap_poll(ap_pollfd_t *pollfdset, ap_int32_t *nsds, ap_int32_t timeout)
   {
       int i;
       int rv = 0;
  @@ -164,7 +164,7 @@
   
   
   
  -ap_status_t ap_get_revents(ap_int16_t *event, struct ap_socket_t *sock, struct ap_pollfd_t *aprset)
  +ap_status_t ap_get_revents(ap_int16_t *event, ap_socket_t *sock, ap_pollfd_t *aprset)
   {
       int i;
       
  @@ -186,8 +186,8 @@
   
   
   
  -ap_status_t ap_remove_poll_socket(struct ap_pollfd_t *aprset, 
  -                                  struct ap_socket_t *sock, ap_int16_t events)
  +ap_status_t ap_remove_poll_socket(ap_pollfd_t *aprset, 
  +                                  ap_socket_t *sock, ap_int16_t events)
   {
       int start, *count, pos;
   
  
  
  
  1.11      +2 -2      apache-2.0/src/lib/apr/network_io/os2/sendrecv.c
  
  Index: sendrecv.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/network_io/os2/sendrecv.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- sendrecv.c	2000/04/03 18:37:33	1.10
  +++ sendrecv.c	2000/04/03 19:45:07	1.11
  @@ -59,7 +59,7 @@
   #include "apr_lib.h"
   #include <sys/time.h>
   
  -ap_status_t ap_send(struct ap_socket_t *sock, const char *buf, ap_ssize_t *len)
  +ap_status_t ap_send(ap_socket_t *sock, const char *buf, ap_ssize_t *len)
   {
       ssize_t rv;
       int fds, err = 0;
  @@ -98,7 +98,7 @@
   
   
   
  -ap_status_t ap_recv(struct ap_socket_t *sock, char *buf, ap_ssize_t *len)
  +ap_status_t ap_recv(ap_socket_t *sock, char *buf, ap_ssize_t *len)
   {
       ssize_t rv;
       int fds, err = 0;
  
  
  
  1.14      +16 -16    apache-2.0/src/lib/apr/network_io/os2/sockets.c
  
  Index: sockets.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/network_io/os2/sockets.c,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- sockets.c	2000/04/03 18:37:33	1.13
  +++ sockets.c	2000/04/03 19:45:08	1.14
  @@ -68,7 +68,7 @@
   
   ap_status_t socket_cleanup(void *sock)
   {
  -    struct ap_socket_t *thesocket = sock;
  +    ap_socket_t *thesocket = sock;
       if (soclose(thesocket->socketdes) == 0) {
           thesocket->socketdes = -1;
           return APR_SUCCESS;
  @@ -78,9 +78,9 @@
       }
   }
   
  -ap_status_t ap_create_tcp_socket(struct ap_socket_t **new, ap_context_t *cont)
  +ap_status_t ap_create_tcp_socket(ap_socket_t **new, ap_context_t *cont)
   {
  -    (*new) = (struct ap_socket_t *)ap_palloc(cont, sizeof(struct ap_socket_t));
  +    (*new) = (ap_socket_t *)ap_palloc(cont, sizeof(ap_socket_t));
   
       if ((*new) == NULL) {
           return APR_ENOMEM;
  @@ -112,7 +112,7 @@
       return APR_SUCCESS;
   } 
   
  -ap_status_t ap_shutdown(struct ap_socket_t *thesocket, ap_shutdown_how_e how)
  +ap_status_t ap_shutdown(ap_socket_t *thesocket, ap_shutdown_how_e how)
   {
       if (shutdown(thesocket->socketdes, how) == 0) {
           return APR_SUCCESS;
  @@ -122,7 +122,7 @@
       }
   }
   
  -ap_status_t ap_close_socket(struct ap_socket_t *thesocket)
  +ap_status_t ap_close_socket(ap_socket_t *thesocket)
   {
       ap_kill_cleanup(thesocket->cntxt, thesocket, socket_cleanup);
       return socket_cleanup(thesocket);
  @@ -131,7 +131,7 @@
   
   
   
  -ap_status_t ap_bind(struct ap_socket_t *sock)
  +ap_status_t ap_bind(ap_socket_t *sock)
   {
       if (bind(sock->socketdes, (struct sockaddr *)sock->local_addr, sock->addr_len) == -1)
           return os2errno(sock_errno());
  @@ -139,7 +139,7 @@
           return APR_SUCCESS;
   }
   
  -ap_status_t ap_listen(struct ap_socket_t *sock, ap_int32_t backlog)
  +ap_status_t ap_listen(ap_socket_t *sock, ap_int32_t backlog)
   {
       if (listen(sock->socketdes, backlog) == -1)
           return os2errno(sock_errno());
  @@ -147,10 +147,10 @@
           return APR_SUCCESS;
   }
   
  -ap_status_t ap_accept(struct ap_socket_t **new, const struct ap_socket_t *sock, struct ap_context_t *connection_context)
  +ap_status_t ap_accept(ap_socket_t **new, const ap_socket_t *sock, ap_context_t *connection_context)
   {
  -    (*new) = (struct ap_socket_t *)ap_palloc(connection_context, 
  -                            sizeof(struct ap_socket_t));
  +    (*new) = (ap_socket_t *)ap_palloc(connection_context, 
  +                            sizeof(ap_socket_t));
   
       (*new)->cntxt = connection_context;
       (*new)->remote_addr = (struct sockaddr_in *)ap_palloc((*new)->cntxt,
  @@ -170,7 +170,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_connect(struct ap_socket_t *sock, char *hostname)
  +ap_status_t ap_connect(ap_socket_t *sock, char *hostname)
   {
       struct hostent *hp;
   
  @@ -204,7 +204,7 @@
   
   
   
  -ap_status_t ap_get_socketdata(void **data, char *key, struct ap_socket_t *socket)
  +ap_status_t ap_get_socketdata(void **data, char *key, ap_socket_t *socket)
   {
       if (socket != NULL) {
           return ap_get_userdata(data, key, socket->cntxt);
  @@ -217,7 +217,7 @@
   
   
   
  -ap_status_t ap_set_socketdata(struct ap_socket_t *socket, void *data, char *key,
  +ap_status_t ap_set_socketdata(ap_socket_t *socket, void *data, char *key,
                                 ap_status_t (*cleanup) (void *))
   {
       if (socket != NULL) {
  @@ -229,7 +229,7 @@
       }
   }
   
  -ap_status_t ap_get_os_sock(ap_os_sock_t *thesock, struct ap_socket_t *sock)
  +ap_status_t ap_get_os_sock(ap_os_sock_t *thesock, ap_socket_t *sock)
   {
       if (sock == NULL) {
           return APR_ENOSOCKET;
  @@ -240,13 +240,13 @@
   
   
   
  -ap_status_t ap_put_os_sock(struct ap_socket_t **sock, ap_os_sock_t *thesock, ap_context_t *cont)
  +ap_status_t ap_put_os_sock(ap_socket_t **sock, ap_os_sock_t *thesock, ap_context_t *cont)
   {
       if (cont == NULL) {
           return APR_ENOCONT;
       }
       if ((*sock) == NULL) {
  -        (*sock) = (struct ap_socket_t *)ap_palloc(cont, sizeof(struct ap_socket_t));
  +        (*sock) = (ap_socket_t *)ap_palloc(cont, sizeof(ap_socket_t));
           (*sock)->cntxt = cont;
       }
       (*sock)->socketdes = *thesock;
  
  
  
  1.11      +2 -2      apache-2.0/src/lib/apr/network_io/os2/sockopt.c
  
  Index: sockopt.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/network_io/os2/sockopt.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- sockopt.c	2000/04/03 18:37:34	1.10
  +++ sockopt.c	2000/04/03 19:45:08	1.11
  @@ -66,7 +66,7 @@
   #include <sys/so_ioctl.h>
   
   
  -ap_status_t ap_setsocketopt(struct ap_socket_t *sock, ap_int32_t opt, ap_int32_t on)
  +ap_status_t ap_setsocketopt(ap_socket_t *sock, ap_int32_t opt, ap_int32_t on)
   {
       int one;
       struct linger li;
  @@ -128,7 +128,7 @@
   
   
   
  -ap_status_t ap_get_remote_hostname(char **name, struct ap_socket_t *sock)
  +ap_status_t ap_get_remote_hostname(char **name, ap_socket_t *sock)
   {
       struct hostent *hptr;
   
  
  
  
  1.21      +21 -21    apache-2.0/src/lib/apr/network_io/unix/poll.c
  
  Index: poll.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/network_io/unix/poll.c,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- poll.c	2000/04/03 18:37:35	1.20
  +++ poll.c	2000/04/03 19:45:09	1.21
  @@ -64,10 +64,10 @@
    * arg 2) The number of socket descriptors to be polled.
    * arg 3) The context to operate on.
    */
  -ap_status_t ap_setup_poll(struct ap_pollfd_t **new, ap_int32_t num, ap_context_t *cont)
  +ap_status_t ap_setup_poll(ap_pollfd_t **new, ap_int32_t num, ap_context_t *cont)
   {
  -    (*new) = (struct ap_pollfd_t *)ap_palloc(cont, sizeof(struct ap_pollfd_t));
  -    (*new)->sock = ap_palloc(cont, sizeof(struct ap_socket_t) * num);
  +    (*new) = (ap_pollfd_t *)ap_palloc(cont, sizeof(ap_pollfd_t));
  +    (*new)->sock = ap_palloc(cont, sizeof(ap_socket_t) * num);
       (*new)->events = ap_palloc(cont, sizeof(ap_int16_t) * num);
       (*new)->revents = ap_palloc(cont, sizeof(ap_int16_t) * num);
   
  @@ -130,8 +130,8 @@
    *            APR_POLLPRI   -- signal if prioirty data is availble to be read
    *            APR_POLLOUT   -- signal if write will not block
    */
  -ap_status_t ap_add_poll_socket(struct ap_pollfd_t *aprset, 
  -			       struct ap_socket_t *sock, ap_int16_t event)
  +ap_status_t ap_add_poll_socket(ap_pollfd_t *aprset, 
  +			       ap_socket_t *sock, ap_int16_t event)
   {
       int i = 0;
       
  @@ -160,7 +160,7 @@
    *        time.  A negative number means wait until a socket is signalled.
    * NOTE:  The number of sockets signalled is returned in the second argument. 
    */
  -ap_status_t ap_poll(struct ap_pollfd_t *aprset, ap_int32_t *nsds, ap_int32_t timeout)
  +ap_status_t ap_poll(ap_pollfd_t *aprset, ap_int32_t *nsds, ap_int32_t timeout)
   {
       int i;
       struct pollfd *pollset;
  @@ -206,7 +206,7 @@
    * arg 2) The socket we wish to get information about. 
    * arg 3) The poll structure we will be using. 
    */
  -ap_status_t ap_get_revents(ap_int16_t *event, struct ap_socket_t *sock, struct ap_pollfd_t *aprset)
  +ap_status_t ap_get_revents(ap_int16_t *event, ap_socket_t *sock, ap_pollfd_t *aprset)
   {
       int i = 0;
       
  @@ -231,8 +231,8 @@
    *            APR_POLLPRI   -- signal if prioirty data is availble to be read
    *            APR_POLLOUT   -- signal if write will not block
    */
  -ap_status_t ap_remove_poll_socket(struct ap_pollfd_t *aprset, 
  -                                  struct ap_socket_t *sock, ap_int16_t events)
  +ap_status_t ap_remove_poll_socket(ap_pollfd_t *aprset, 
  +                                  ap_socket_t *sock, ap_int16_t events)
   {
       ap_int16_t newevents;
       int i = 0;
  @@ -260,7 +260,7 @@
    *            APR_POLLPRI   -- signal if prioirty data is availble to be read
    *            APR_POLLOUT   -- signal if write will not block
    */
  -ap_status_t ap_clear_poll_sockets(struct ap_pollfd_t *aprset, ap_int16_t events)
  +ap_status_t ap_clear_poll_sockets(ap_pollfd_t *aprset, ap_int16_t events)
   {
       int i = 0;
       ap_int16_t newevents;
  @@ -278,9 +278,9 @@
   
   #else    /* Use select to mimic poll */
   
  -ap_status_t ap_setup_poll(struct ap_pollfd_t **new, ap_int32_t num, ap_context_t *cont)
  +ap_status_t ap_setup_poll(ap_pollfd_t **new, ap_int32_t num, ap_context_t *cont)
   {
  -    (*new) = (struct ap_pollfd_t *)ap_palloc(cont, sizeof(struct ap_pollfd_t) * num);
  +    (*new) = (ap_pollfd_t *)ap_palloc(cont, sizeof(ap_pollfd_t) * num);
       if ((*new) == NULL) {
           return APR_ENOMEM;
       }
  @@ -295,8 +295,8 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_add_poll_socket(struct ap_pollfd_t *aprset,
  -                               struct ap_socket_t *sock, ap_int16_t event)
  +ap_status_t ap_add_poll_socket(ap_pollfd_t *aprset,
  +                               ap_socket_t *sock, ap_int16_t event)
   {
       if (event & APR_POLLIN) {
           FD_SET(sock->socketdes, aprset->read);
  @@ -313,7 +313,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_poll(struct ap_pollfd_t *aprset, ap_int32_t *nsds, ap_int32_t timeout)
  +ap_status_t ap_poll(ap_pollfd_t *aprset, ap_int32_t *nsds, ap_int32_t timeout)
   {
       int rv;
       struct timeval *thetime;
  @@ -341,7 +341,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_get_revents(ap_int16_t *event, struct ap_socket_t *sock, struct ap_pollfd_t *aprset)
  +ap_status_t ap_get_revents(ap_int16_t *event, ap_socket_t *sock, ap_pollfd_t *aprset)
   {
       ap_int16_t revents = 0;
       char data[1];
  @@ -388,8 +388,8 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_remove_poll_socket(struct ap_pollfd_t *aprset, 
  -                                  struct ap_socket_t *sock, ap_int16_t events)
  +ap_status_t ap_remove_poll_socket(ap_pollfd_t *aprset, 
  +                                  ap_socket_t *sock, ap_int16_t events)
   {
       if (events & APR_POLLIN) {
           FD_CLR(sock->socketdes, aprset->read);
  @@ -403,7 +403,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_clear_poll_sockets(struct ap_pollfd_t *aprset, ap_int16_t event)
  +ap_status_t ap_clear_poll_sockets(ap_pollfd_t *aprset, ap_int16_t event)
   {
       if (event & APR_POLLIN) {
           FD_ZERO(aprset->read);
  @@ -427,7 +427,7 @@
    * arg 2) The key to use for retreiving data associated with a poll struct.
    * arg 3) The user data associated with the pollfd.
    */
  -ap_status_t ap_get_polldata(struct ap_pollfd_t *pollfd, char *key, void *data)
  +ap_status_t ap_get_polldata(ap_pollfd_t *pollfd, char *key, void *data)
   {
       if (pollfd != NULL) {
           return ap_get_userdata(data, key, pollfd->cntxt);
  @@ -446,7 +446,7 @@
    * arg 2) The user data to associate with the pollfd.
   
    */
  -ap_status_t ap_set_polldata(struct ap_pollfd_t *pollfd, void *data, char *key,
  +ap_status_t ap_set_polldata(ap_pollfd_t *pollfd, void *data, char *key,
                               ap_status_t (*cleanup) (void *))
   {
       if (pollfd != NULL) {
  
  
  
  1.18      +4 -4      apache-2.0/src/lib/apr/network_io/unix/sendrecv.c
  
  Index: sendrecv.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/network_io/unix/sendrecv.c,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- sendrecv.c	2000/04/03 18:37:36	1.17
  +++ sendrecv.c	2000/04/03 19:45:10	1.18
  @@ -67,7 +67,7 @@
   
   #endif /* HAVE_SENDFILE */
   
  -static ap_status_t wait_for_io_or_timeout(struct ap_socket_t *sock, int for_read)
  +static ap_status_t wait_for_io_or_timeout(ap_socket_t *sock, int for_read)
   {
       struct timeval tv;
       fd_set fdset;
  @@ -104,7 +104,7 @@
    *        this behavior, use ap_setsocketopt with the APR_SO_TIMEOUT option.
    *        The number of bytes actually sent is stored in argument 3.
    */
  -ap_status_t ap_send(struct ap_socket_t *sock, const char *buf, ap_ssize_t *len)
  +ap_status_t ap_send(ap_socket_t *sock, const char *buf, ap_ssize_t *len)
   {
       ssize_t rv;
       
  @@ -142,7 +142,7 @@
    *        this behavior, use ap_setsocketopt with the APR_SO_TIMEOUT option.
    *        The number of bytes actually sent is stored in argument 3.
    */
  -ap_status_t ap_recv(struct ap_socket_t *sock, char *buf, ap_ssize_t *len)
  +ap_status_t ap_recv(ap_socket_t *sock, char *buf, ap_ssize_t *len)
   {
       ssize_t rv;
       
  @@ -182,7 +182,7 @@
    *        this behavior, use ap_setsocketopt with the APR_SO_TIMEOUT option.
    *        The number of bytes actually sent is stored in argument 3.
    */
  -ap_status_t ap_sendv(struct ap_socket_t * sock, const struct iovec *vec,
  +ap_status_t ap_sendv(ap_socket_t * sock, const struct iovec *vec,
                        ap_int32_t nvec, ap_int32_t *len)
   {
       ssize_t rv;
  
  
  
  1.9       +10 -10    apache-2.0/src/lib/apr/network_io/unix/sockaddr.c
  
  Index: sockaddr.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/network_io/unix/sockaddr.c,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- sockaddr.c	2000/04/03 18:37:36	1.8
  +++ sockaddr.c	2000/04/03 19:45:11	1.9
  @@ -63,7 +63,7 @@
    *        that this socket is going to use this port if possible.  If
    *        the port is already used, we won't find out about it here.
    */
  -ap_status_t ap_set_local_port(struct ap_socket_t *sock, ap_uint32_t port)
  +ap_status_t ap_set_local_port(ap_socket_t *sock, ap_uint32_t port)
   {
       sock->local_addr->sin_port = htons((short)port);
       return APR_SUCCESS;
  @@ -79,7 +79,7 @@
    * NOTE:  This does not make a connection to the remote port, it is just 
    *        telling apr which port ap_connect() should attempt to connect to.
    */
  -ap_status_t ap_set_remote_port(struct ap_socket_t *sock, ap_uint32_t port)
  +ap_status_t ap_set_remote_port(ap_socket_t *sock, ap_uint32_t port)
   {
       sock->remote_addr->sin_port = htons((short)port);
       return APR_SUCCESS;
  @@ -93,7 +93,7 @@
    * arg 1) The local port this socket is associated with.
    * arg 2) The socket to enquire about.
    */
  -ap_status_t ap_get_local_port(ap_uint32_t *port, struct ap_socket_t *sock)
  +ap_status_t ap_get_local_port(ap_uint32_t *port, ap_socket_t *sock)
   {
       *port = ntohs(sock->local_addr->sin_port);
       return APR_SUCCESS;
  @@ -107,7 +107,7 @@
    * arg 1) The remote port this socket is associated with.
    * arg 2) The socket to enquire about.
    */
  -ap_status_t ap_get_remote_port(ap_uint32_t *port, struct ap_socket_t *sock)
  +ap_status_t ap_get_remote_port(ap_uint32_t *port, ap_socket_t *sock)
   {
       *port = ntohs(sock->remote_addr->sin_port);
       return APR_SUCCESS;
  @@ -124,7 +124,7 @@
    * NOTE:  This does not bind the two together, it is just telling apr 
    *        that this socket is going to use this address if possible. 
    */
  -ap_status_t ap_set_local_ipaddr(struct ap_socket_t *sock, const char *addr)
  +ap_status_t ap_set_local_ipaddr(ap_socket_t *sock, const char *addr)
   {
       u_long ipaddr;
       
  @@ -153,7 +153,7 @@
    * NOTE:  This does not make a connection to the remote address, it is just
    *        telling apr which address ap_connect() should attempt to connect to.
    */
  -ap_status_t ap_set_remote_ipaddr(struct ap_socket_t *sock, const char *addr)
  +ap_status_t ap_set_remote_ipaddr(ap_socket_t *sock, const char *addr)
   {
       u_long ipaddr;
       
  @@ -180,7 +180,7 @@
    * arg 1) The local IP address associated with the socket.
    * arg 2) The socket to use 
    */
  -ap_status_t ap_get_local_ipaddr(char **addr, const struct ap_socket_t *sock)
  +ap_status_t ap_get_local_ipaddr(char **addr, const ap_socket_t *sock)
   {
       *addr = ap_pstrdup(sock->cntxt, inet_ntoa(sock->local_addr->sin_addr));
       return APR_SUCCESS;
  @@ -194,7 +194,7 @@
    * arg 1) The remote IP address associated with the socket.
    * arg 2) The socket to use 
    */
  -ap_status_t ap_get_remote_ipaddr(char **addr, const struct ap_socket_t *sock)
  +ap_status_t ap_get_remote_ipaddr(char **addr, const ap_socket_t *sock)
   {
       *addr = ap_pstrdup(sock->cntxt, inet_ntoa(sock->remote_addr->sin_addr));
       return APR_SUCCESS;
  @@ -210,7 +210,7 @@
    * arg 1) The local name associated with the socket.
    * arg 2) The socket to use 
    */
  -ap_status_t ap_get_local_name(struct sockaddr_in **name, const struct ap_socket_t *sock)
  +ap_status_t ap_get_local_name(struct sockaddr_in **name, const ap_socket_t *sock)
   {
       *name = sock->local_addr;
       return APR_SUCCESS;
  @@ -225,7 +225,7 @@
    * arg 1) The remote name associated with the socket.
    * arg 2) The socket to use 
    */
  -ap_status_t ap_get_remote_name(struct sockaddr_in **name, const struct ap_socket_t *sock)
  +ap_status_t ap_get_remote_name(struct sockaddr_in **name, const ap_socket_t *sock)
   {
       *name = sock->remote_addr;
       return APR_SUCCESS;
  
  
  
  1.34      +16 -16    apache-2.0/src/lib/apr/network_io/unix/sockets.c
  
  Index: sockets.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/network_io/unix/sockets.c,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- sockets.c	2000/04/03 18:37:36	1.33
  +++ sockets.c	2000/04/03 19:45:11	1.34
  @@ -57,7 +57,7 @@
   
   static ap_status_t socket_cleanup(void *sock)
   {
  -    struct ap_socket_t *thesocket = sock;
  +    ap_socket_t *thesocket = sock;
       if (close(thesocket->socketdes) == 0) {
           thesocket->socketdes = -1;
           return APR_SUCCESS;
  @@ -73,9 +73,9 @@
    * arg 1) The new socket that has been setup. 
    * arg 2) The context to use
    */
  -ap_status_t ap_create_tcp_socket(struct ap_socket_t **new, ap_context_t *cont)
  +ap_status_t ap_create_tcp_socket(ap_socket_t **new, ap_context_t *cont)
   {
  -    (*new) = (struct ap_socket_t *)ap_palloc(cont, sizeof(struct ap_socket_t));
  +    (*new) = (ap_socket_t *)ap_palloc(cont, sizeof(ap_socket_t));
   
       if ((*new) == NULL) {
           return APR_ENOMEM;
  @@ -117,7 +117,7 @@
    * NOTE:  This does not actually close the socket descriptor, it just
    *        controls which calls are still valid on the socket.
    */
  -ap_status_t ap_shutdown(struct ap_socket_t *thesocket, ap_shutdown_how_e how)
  +ap_status_t ap_shutdown(ap_socket_t *thesocket, ap_shutdown_how_e how)
   {
       if (shutdown(thesocket->socketdes, how) == 0) {
           return APR_SUCCESS;
  @@ -132,7 +132,7 @@
    *    Close a tcp socket.
    * arg 1) The socket to close 
    */
  -ap_status_t ap_close_socket(struct ap_socket_t *thesocket)
  +ap_status_t ap_close_socket(ap_socket_t *thesocket)
   {
       ap_kill_cleanup(thesocket->cntxt, thesocket, socket_cleanup);
       return socket_cleanup(thesocket);
  @@ -145,7 +145,7 @@
    * NOTE:  This is where we will find out if there is any other process
    *        using the selected port.
    */
  -ap_status_t ap_bind(struct ap_socket_t *sock)
  +ap_status_t ap_bind(ap_socket_t *sock)
   {
       if (bind(sock->socketdes, (struct sockaddr *)sock->local_addr, sock->addr_len) == -1)
           return errno;
  @@ -161,7 +161,7 @@
    *        listen queue.  If this value is less than zero, the listen
    *        queue size is set to zero.  
    */
  -ap_status_t ap_listen(struct ap_socket_t *sock, ap_int32_t backlog)
  +ap_status_t ap_listen(ap_socket_t *sock, ap_int32_t backlog)
   {
       if (listen(sock->socketdes, backlog) == -1)
           return errno;
  @@ -179,10 +179,10 @@
    * arg 2) The socket we are listening on.
    * arg 3) The context for the new socket.
    */
  -ap_status_t ap_accept(struct ap_socket_t **new, const struct ap_socket_t *sock, struct ap_context_t *connection_context)
  +ap_status_t ap_accept(ap_socket_t **new, const ap_socket_t *sock, ap_context_t *connection_context)
   {
  -    (*new) = (struct ap_socket_t *)ap_palloc(connection_context, 
  -                            sizeof(struct ap_socket_t));
  +    (*new) = (ap_socket_t *)ap_palloc(connection_context, 
  +                            sizeof(ap_socket_t));
   
       (*new)->cntxt = connection_context;
       (*new)->local_addr = (struct sockaddr_in *)ap_palloc((*new)->cntxt, 
  @@ -220,7 +220,7 @@
    *        APR assumes that the sockaddr_in in the apr_socket is completely
    *        filled out.
    */
  -ap_status_t ap_connect(struct ap_socket_t *sock, char *hostname)
  +ap_status_t ap_connect(ap_socket_t *sock, char *hostname)
   {
       struct hostent *hp;
   
  @@ -259,7 +259,7 @@
    * arg 1) The currently open socket.
    * arg 2) The user data associated with the socket.
    */
  -ap_status_t ap_get_socketdata(void **data, char *key, struct ap_socket_t *sock)
  +ap_status_t ap_get_socketdata(void **data, char *key, ap_socket_t *sock)
   {
       if (sock != NULL) {
           return ap_get_userdata(data, key, sock->cntxt);
  @@ -279,7 +279,7 @@
    * arg 3) The key to associate with the data.
    * arg 4) The cleanup to call when the socket is destroyed.
    */
  -ap_status_t ap_set_socketdata(struct ap_socket_t *sock, void *data, char *key,
  +ap_status_t ap_set_socketdata(ap_socket_t *sock, void *data, char *key,
                                 ap_status_t (*cleanup) (void *))
   {
       if (sock != NULL) {
  @@ -297,7 +297,7 @@
    * arg 1) The socket to convert.
    * arg 2) The os specifc equivelant of the apr socket..
    */
  -ap_status_t ap_get_os_sock(ap_os_sock_t *thesock, struct ap_socket_t *sock)
  +ap_status_t ap_get_os_sock(ap_os_sock_t *thesock, ap_socket_t *sock)
   {
       if (sock == NULL) {
           return APR_ENOSOCKET;
  @@ -314,14 +314,14 @@
    * arg 2) The socket to convert to.
    * arg 3) The socket we are converting to an apr type.
    */
  -ap_status_t ap_put_os_sock(struct ap_socket_t **sock, ap_os_sock_t *thesock, 
  +ap_status_t ap_put_os_sock(ap_socket_t **sock, ap_os_sock_t *thesock, 
                              ap_context_t *cont)
   {
       if (cont == NULL) {
           return APR_ENOCONT;
       }
       if ((*sock) == NULL) {
  -        (*sock) = (struct ap_socket_t *)ap_palloc(cont, sizeof(struct ap_socket_t));
  +        (*sock) = (ap_socket_t *)ap_palloc(cont, sizeof(ap_socket_t));
           (*sock)->cntxt = cont;
           (*sock)->local_addr = (struct sockaddr_in *)ap_palloc((*sock)->cntxt,
                                sizeof(struct sockaddr_in));
  
  
  
  1.20      +2 -2      apache-2.0/src/lib/apr/network_io/unix/sockopt.c
  
  Index: sockopt.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/network_io/unix/sockopt.c,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- sockopt.c	2000/04/03 18:37:36	1.19
  +++ sockopt.c	2000/04/03 19:45:11	1.20
  @@ -114,7 +114,7 @@
    *            APR_SO_SNDBUF     --  Set the SendBufferSize
    * arg 3) Are we turning the option on or off.
    */
  -ap_status_t ap_setsocketopt(struct ap_socket_t *sock, ap_int32_t opt, ap_int32_t on)
  +ap_status_t ap_setsocketopt(ap_socket_t *sock, ap_int32_t opt, ap_int32_t on)
   {
       int one;
       struct linger li;
  @@ -193,7 +193,7 @@
    * arg 1) A buffer to store the hostname in.
    * arg 2) The socket to examine.
    */
  -ap_status_t ap_get_remote_hostname(char **name, struct ap_socket_t *sock)
  +ap_status_t ap_get_remote_hostname(char **name, ap_socket_t *sock)
   {
       struct hostent *hptr;
       
  
  
  
  1.11      +11 -11    apache-2.0/src/lib/apr/network_io/win32/poll.c
  
  Index: poll.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/network_io/win32/poll.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- poll.c	2000/04/03 18:37:39	1.10
  +++ poll.c	2000/04/03 19:45:14	1.11
  @@ -61,9 +61,9 @@
   #include <time.h>
   
   
  -ap_status_t ap_setup_poll(struct ap_pollfd_t **new, ap_int32_t num, ap_context_t *cont)
  +ap_status_t ap_setup_poll(ap_pollfd_t **new, ap_int32_t num, ap_context_t *cont)
   {
  -    (*new) = (struct ap_pollfd_t *)ap_palloc(cont, sizeof(struct ap_pollfd_t) * num);
  +    (*new) = (ap_pollfd_t *)ap_palloc(cont, sizeof(ap_pollfd_t) * num);
       if ((*new) == NULL) {
           return APR_ENOMEM;
       }
  @@ -80,8 +80,8 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_add_poll_socket(struct ap_pollfd_t *aprset, 
  -			       struct ap_socket_t *sock, ap_int16_t event)
  +ap_status_t ap_add_poll_socket(ap_pollfd_t *aprset, 
  +			       ap_socket_t *sock, ap_int16_t event)
   {
       if (event & APR_POLLIN) {
           FD_SET(sock->sock, aprset->read);
  @@ -98,7 +98,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_poll(struct ap_pollfd_t *aprset, ap_int32_t *nsds, ap_int32_t timeout)
  +ap_status_t ap_poll(ap_pollfd_t *aprset, ap_int32_t *nsds, ap_int32_t timeout)
   {
       int rv;
       struct timeval *thetime;
  @@ -142,7 +142,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_get_revents(ap_int16_t *event, struct ap_socket_t *sock, struct ap_pollfd_t *aprset)
  +ap_status_t ap_get_revents(ap_int16_t *event, ap_socket_t *sock, ap_pollfd_t *aprset)
   {
       ap_int16_t revents = 0;
       WSABUF data;
  @@ -195,7 +195,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_get_polldata(struct ap_pollfd_t *pollfd, char *key, void *data)
  +ap_status_t ap_get_polldata(ap_pollfd_t *pollfd, char *key, void *data)
   {
       if (pollfd != NULL) {
           return ap_get_userdata(data, key, pollfd->cntxt);
  @@ -206,7 +206,7 @@
       }
   }
   
  -ap_status_t ap_set_polldata(struct ap_pollfd_t *pollfd, void *data, char *key,
  +ap_status_t ap_set_polldata(ap_pollfd_t *pollfd, void *data, char *key,
                               ap_status_t (*cleanup) (void *))
   {
       if (pollfd != NULL) {
  @@ -218,8 +218,8 @@
       }
   }
   
  -ap_status_t ap_remove_poll_socket(struct ap_pollfd_t *aprset, 
  -                                  struct ap_socket_t *sock, ap_int16_t events)
  +ap_status_t ap_remove_poll_socket(ap_pollfd_t *aprset, 
  +                                  ap_socket_t *sock, ap_int16_t events)
   {
       if (events & APR_POLLIN) {
           FD_CLR(sock->sock, aprset->read);
  @@ -236,7 +236,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_clear_poll_sockets(struct ap_pollfd_t *aprset, ap_int16_t events)
  +ap_status_t ap_clear_poll_sockets(ap_pollfd_t *aprset, ap_int16_t events)
   {
       if (events & APR_POLLIN) {
           FD_ZERO(aprset->read);
  
  
  
  1.13      +3 -3      apache-2.0/src/lib/apr/network_io/win32/sendrecv.c
  
  Index: sendrecv.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/network_io/win32/sendrecv.c,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- sendrecv.c	2000/04/03 18:37:39	1.12
  +++ sendrecv.c	2000/04/03 19:45:14	1.13
  @@ -60,7 +60,7 @@
   #include "fileio.h"
   #include <time.h>
   
  -ap_status_t ap_send(struct ap_socket_t *sock, const char *buf, ap_ssize_t *len)
  +ap_status_t ap_send(ap_socket_t *sock, const char *buf, ap_ssize_t *len)
   {
       ap_ssize_t rv;
       WSABUF wsaData;
  @@ -81,7 +81,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_recv(struct ap_socket_t *sock, char *buf, ap_ssize_t *len) 
  +ap_status_t ap_recv(ap_socket_t *sock, char *buf, ap_ssize_t *len) 
   {
       ap_ssize_t rv;
       WSABUF wsaData;
  @@ -102,7 +102,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_sendv(struct ap_socket_t *sock, const struct iovec *vec,
  +ap_status_t ap_sendv(ap_socket_t *sock, const struct iovec *vec,
                        ap_int32_t nvec, ap_int32_t *nbytes)
   {
       ap_ssize_t rv;
  
  
  
  1.5       +10 -10    apache-2.0/src/lib/apr/network_io/win32/sockaddr.c
  
  Index: sockaddr.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/network_io/win32/sockaddr.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- sockaddr.c	2000/04/03 18:37:39	1.4
  +++ sockaddr.c	2000/04/03 19:45:14	1.5
  @@ -68,7 +68,7 @@
    *        that this socket is going to use this port if possible.  If
    *        the port is already used, we won't find out about it here.
    */
  -ap_status_t ap_set_local_port(struct ap_socket_t *sock, ap_uint32_t port)
  +ap_status_t ap_set_local_port(ap_socket_t *sock, ap_uint32_t port)
   {
       sock->local_addr->sin_port = htons((short)port);
       return APR_SUCCESS;
  @@ -84,7 +84,7 @@
    * NOTE:  This does not make a connection to the remote port, it is just 
    *        telling apr which port ap_connect() should attempt to connect to.
    */
  -ap_status_t ap_set_remote_port(struct ap_socket_t *sock, ap_uint32_t port)
  +ap_status_t ap_set_remote_port(ap_socket_t *sock, ap_uint32_t port)
   {
       sock->remote_addr->sin_port = htons((short)port);
       return APR_SUCCESS;
  @@ -98,7 +98,7 @@
    * arg 1) The local port this socket is associated with.
    * arg 2) The socket to enquire about.
    */
  -ap_status_t ap_get_local_port(ap_uint32_t *port, struct ap_socket_t *sock)
  +ap_status_t ap_get_local_port(ap_uint32_t *port, ap_socket_t *sock)
   {
       *port = ntohs(sock->local_addr->sin_port);
       return APR_SUCCESS;
  @@ -112,7 +112,7 @@
    * arg 1) The remote port this socket is associated with.
    * arg 2) The socket to enquire about.
    */
  -ap_status_t ap_get_remote_port(ap_uint32_t *port, struct ap_socket_t *sock)
  +ap_status_t ap_get_remote_port(ap_uint32_t *port, ap_socket_t *sock)
   {
       *port = ntohs(sock->remote_addr->sin_port);
       return APR_SUCCESS;
  @@ -129,7 +129,7 @@
    * NOTE:  This does not bind the two together, it is just telling apr 
    *        that this socket is going to use this address if possible. 
    */
  -ap_status_t ap_set_local_ipaddr(struct ap_socket_t *sock, const char *addr)
  +ap_status_t ap_set_local_ipaddr(ap_socket_t *sock, const char *addr)
   {
       u_long ipaddr;
       
  @@ -156,7 +156,7 @@
    * NOTE:  This does not make a connection to the remote address, it is just
    *        telling apr which address ap_connect() should attempt to connect to.
    */
  -ap_status_t ap_set_remote_ipaddr(struct ap_socket_t *sock, const char *addr)
  +ap_status_t ap_set_remote_ipaddr(ap_socket_t *sock, const char *addr)
   {
       u_long ipaddr;
       
  @@ -181,7 +181,7 @@
    * arg 1) The local IP address associated with the socket.
    * arg 2) The socket to use 
    */
  -ap_status_t ap_get_local_ipaddr(char **addr, const struct ap_socket_t *sock)
  +ap_status_t ap_get_local_ipaddr(char **addr, const ap_socket_t *sock)
   {
       *addr = ap_pstrdup(sock->cntxt, inet_ntoa(sock->local_addr->sin_addr));
       return APR_SUCCESS;
  @@ -195,7 +195,7 @@
    * arg 1) The remote IP address associated with the socket.
    * arg 2) The socket to use 
    */
  -ap_status_t ap_get_remote_ipaddr(char **addr, const struct ap_socket_t *sock)
  +ap_status_t ap_get_remote_ipaddr(char **addr, const ap_socket_t *sock)
   {
       *addr = ap_pstrdup(sock->cntxt, inet_ntoa(sock->remote_addr->sin_addr));
       return APR_SUCCESS;
  @@ -208,7 +208,7 @@
    * arg 1) The local name associated with the socket.
    * arg 2) The socket to use 
    */
  -ap_status_t ap_get_local_name(struct sockaddr_in **name, const struct ap_socket_t *sock)
  +ap_status_t ap_get_local_name(struct sockaddr_in **name, const ap_socket_t *sock)
   {
       *name = sock->local_addr;
       return APR_SUCCESS;
  @@ -222,7 +222,7 @@
    * arg 1) The remote name associated with the socket.
    * arg 2) The socket to use 
    */
  -ap_status_t ap_get_remote_name(struct sockaddr_in **name, const struct ap_socket_t *sock)
  +ap_status_t ap_get_remote_name(struct sockaddr_in **name, const ap_socket_t *sock)
   {
       *name = sock->remote_addr;
       return APR_SUCCESS;
  
  
  
  1.23      +16 -16    apache-2.0/src/lib/apr/network_io/win32/sockets.c
  
  Index: sockets.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/network_io/win32/sockets.c,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- sockets.c	2000/04/03 18:37:40	1.22
  +++ sockets.c	2000/04/03 19:45:15	1.23
  @@ -64,7 +64,7 @@
   
   static ap_status_t socket_cleanup(void *sock)
   {
  -    struct ap_socket_t *thesocket = sock;
  +    ap_socket_t *thesocket = sock;
       if (closesocket(thesocket->sock) != SOCKET_ERROR) {
           thesocket->sock = INVALID_SOCKET;
           return APR_SUCCESS;
  @@ -74,9 +74,9 @@
       }
   }
   
  -ap_status_t ap_create_tcp_socket(struct ap_socket_t **new, ap_context_t *cont)
  +ap_status_t ap_create_tcp_socket(ap_socket_t **new, ap_context_t *cont)
   {
  -    (*new) = (struct ap_socket_t *)ap_palloc(cont, sizeof(struct ap_socket_t));
  +    (*new) = (ap_socket_t *)ap_palloc(cont, sizeof(ap_socket_t));
   
       if ((*new) == NULL) {
           return APR_ENOMEM;
  @@ -109,7 +109,7 @@
       return APR_SUCCESS;
   } 
   
  -ap_status_t ap_shutdown(struct ap_socket_t *thesocket, ap_shutdown_how_e how)
  +ap_status_t ap_shutdown(ap_socket_t *thesocket, ap_shutdown_how_e how)
   {
       int winhow;
   
  @@ -135,13 +135,13 @@
       }
   }
   
  -ap_status_t ap_close_socket(struct ap_socket_t *thesocket)
  +ap_status_t ap_close_socket(ap_socket_t *thesocket)
   {
       ap_kill_cleanup(thesocket->cntxt, thesocket, socket_cleanup);
       return socket_cleanup(thesocket);
   }
   
  -ap_status_t ap_bind(struct ap_socket_t *sock)
  +ap_status_t ap_bind(ap_socket_t *sock)
   {
       if (bind(sock->sock, (struct sockaddr *)sock->local_addr, sock->addr_len) == -1) {
           return errno;
  @@ -150,7 +150,7 @@
           return APR_SUCCESS;
   }
   
  -ap_status_t ap_listen(struct ap_socket_t *sock, ap_int32_t backlog)
  +ap_status_t ap_listen(ap_socket_t *sock, ap_int32_t backlog)
   {
       if (listen(sock->sock, backlog) == SOCKET_ERROR)
           return APR_EEXIST;
  @@ -158,10 +158,10 @@
           return APR_SUCCESS;
   }
   
  -ap_status_t ap_accept(struct ap_socket_t **new, const struct ap_socket_t *sock, struct ap_context_t *connection_context)
  +ap_status_t ap_accept(ap_socket_t **new, const ap_socket_t *sock, ap_context_t *connection_context)
   {
  -    (*new) = (struct ap_socket_t *)ap_palloc(connection_context, 
  -                            sizeof(struct ap_socket_t));
  +    (*new) = (ap_socket_t *)ap_palloc(connection_context, 
  +                            sizeof(ap_socket_t));
   
       (*new)->cntxt = connection_context;
       (*new)->local_addr = (struct sockaddr_in *)ap_palloc((*new)->cntxt, 
  @@ -184,7 +184,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_connect(struct ap_socket_t *sock, char *hostname)
  +ap_status_t ap_connect(ap_socket_t *sock, char *hostname)
   {
       struct hostent *hp;
       int lasterror;
  @@ -226,7 +226,7 @@
       }
   }
   
  -ap_status_t ap_get_socketdata(void **data, char *key, struct ap_socket_t *socket)
  +ap_status_t ap_get_socketdata(void **data, char *key, ap_socket_t *socket)
   {
       if (socket != NULL) {
           return ap_get_userdata(data, key, socket->cntxt);
  @@ -237,7 +237,7 @@
       }
   }
   
  -ap_status_t ap_set_socketdata(struct ap_socket_t *socket, void *data, char *key, 
  +ap_status_t ap_set_socketdata(ap_socket_t *socket, void *data, char *key, 
                                 ap_status_t (*cleanup) (void *))
   {
       if (socket != NULL) {
  @@ -249,7 +249,7 @@
       }
   }
   
  -ap_status_t ap_get_os_sock(ap_os_sock_t *thesock, struct ap_socket_t *sock)
  +ap_status_t ap_get_os_sock(ap_os_sock_t *thesock, ap_socket_t *sock)
   {
       if (sock == NULL) {
           return APR_ENOSOCKET;
  @@ -258,14 +258,14 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_put_os_sock(struct ap_socket_t **sock, ap_os_sock_t *thesock, 
  +ap_status_t ap_put_os_sock(ap_socket_t **sock, ap_os_sock_t *thesock, 
                              ap_context_t *cont)
   {
       if (cont == NULL) {
           return APR_ENOCONT;
       }
       if ((*sock) == NULL) {
  -        (*sock) = (struct ap_socket_t *)ap_palloc(cont, sizeof(struct ap_socket_t));
  +        (*sock) = (ap_socket_t *)ap_palloc(cont, sizeof(ap_socket_t));
           (*sock)->cntxt = cont;
           (*sock)->local_addr = (struct sockaddr_in *)ap_palloc((*sock)->cntxt,
                                sizeof(struct sockaddr_in));
  
  
  
  1.11      +2 -2      apache-2.0/src/lib/apr/network_io/win32/sockopt.c
  
  Index: sockopt.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/network_io/win32/sockopt.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- sockopt.c	2000/04/03 18:37:40	1.10
  +++ sockopt.c	2000/04/03 19:45:15	1.11
  @@ -79,7 +79,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_setsocketopt(struct ap_socket_t *sock, ap_int32_t opt, ap_int32_t on)
  +ap_status_t ap_setsocketopt(ap_socket_t *sock, ap_int32_t opt, ap_int32_t on)
   {
       int one;
       struct linger li;
  @@ -141,7 +141,7 @@
           return APR_SUCCESS;
   }
   
  -ap_status_t ap_get_remote_hostname(char **name, struct ap_socket_t *sock)
  +ap_status_t ap_get_remote_hostname(char **name, ap_socket_t *sock)
   {
       struct hostent *hptr;
   
  
  
  
  1.20      +21 -21    apache-2.0/src/lib/apr/threadproc/beos/proc.c
  
  Index: proc.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/threadproc/beos/proc.c,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- proc.c	2000/04/03 18:37:42	1.19
  +++ proc.c	2000/04/03 19:45:17	1.20
  @@ -60,10 +60,10 @@
   	int err;
   };
   
  -ap_status_t ap_createprocattr_init(struct ap_procattr_t **new, ap_context_t *cont)
  +ap_status_t ap_createprocattr_init(ap_procattr_t **new, ap_context_t *cont)
   {
  -    (*new) = (struct ap_procattr_t *)ap_palloc(cont, 
  -              sizeof(struct ap_procattr_t));
  +    (*new) = (ap_procattr_t *)ap_palloc(cont, 
  +              sizeof(ap_procattr_t));
   
       if ((*new) == NULL) {
           return APR_ENOMEM;
  @@ -81,7 +81,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_setprocattr_io(struct ap_procattr_t *attr, ap_int32_t in, 
  +ap_status_t ap_setprocattr_io(ap_procattr_t *attr, ap_int32_t in, 
                                    ap_int32_t out, ap_int32_t err)
   {
       ap_status_t status;
  @@ -133,7 +133,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_setprocattr_dir(struct ap_procattr_t *attr, 
  +ap_status_t ap_setprocattr_dir(ap_procattr_t *attr, 
                                    const char *dir) 
   {
       char * cwd;
  @@ -153,24 +153,24 @@
       return APR_ENOMEM;
   }
   
  -ap_status_t ap_setprocattr_cmdtype(struct ap_procattr_t *attr,
  +ap_status_t ap_setprocattr_cmdtype(ap_procattr_t *attr,
                                        ap_cmdtype_e cmd) 
   {
       attr->cmdtype = cmd;
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_setprocattr_detach(struct ap_procattr_t *attr, ap_int32_t detach) 
  +ap_status_t ap_setprocattr_detach(ap_procattr_t *attr, ap_int32_t detach) 
   {
       attr->detached = detach;
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_fork(struct ap_proc_t **proc, ap_context_t *cont)
  +ap_status_t ap_fork(ap_proc_t **proc, ap_context_t *cont)
   {
       int pid;
       
  -    (*proc) = (struct ap_proc_t *)ap_palloc(cont, sizeof(struct ap_proc_t));
  +    (*proc) = (ap_proc_t *)ap_palloc(cont, sizeof(ap_proc_t));
   
       if ((pid = fork()) < 0) {
           return errno;
  @@ -186,9 +186,9 @@
   }
   
   
  -ap_status_t ap_create_process(struct ap_proc_t **new, const char *progname, 
  +ap_status_t ap_create_process(ap_proc_t **new, const char *progname, 
                                 char *const args[], char **env, 
  -                              struct ap_procattr_t *attr, ap_context_t *cont)
  +                              ap_procattr_t *attr, ap_context_t *cont)
   {
       int i=0,nargs=0;
       char **newargs = NULL;
  @@ -198,7 +198,7 @@
       struct send_pipe *sp;        
   	char * dir = NULL;
   	    
  -    (*new) = (struct ap_proc_t *)ap_palloc(cont, sizeof(struct ap_proc_t));
  +    (*new) = (ap_proc_t *)ap_palloc(cont, sizeof(ap_proc_t));
   	sp = (struct send_pipe *)ap_palloc(cont, sizeof(struct send_pipe));
   
       if ((*new) == NULL){
  @@ -270,25 +270,25 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_get_childin(ap_file_t **new, struct ap_proc_t *proc)
  +ap_status_t ap_get_childin(ap_file_t **new, ap_proc_t *proc)
   {
       (*new) = proc->attr->parent_in; 
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_get_childout(ap_file_t **new, struct ap_proc_t *proc)
  +ap_status_t ap_get_childout(ap_file_t **new, ap_proc_t *proc)
   {
       (*new) = proc->attr->parent_out;
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_get_childerr(ap_file_t **new, struct ap_proc_t *proc)
  +ap_status_t ap_get_childerr(ap_file_t **new, ap_proc_t *proc)
   {
       (*new) = proc->attr->parent_err; 
       return APR_SUCCESS;
   }    
   
  -ap_status_t ap_wait_proc(struct ap_proc_t *proc, 
  +ap_status_t ap_wait_proc(ap_proc_t *proc, 
                              ap_wait_how_e wait)
   {
       status_t exitval;
  @@ -313,7 +313,7 @@
       return APR_CHILD_NOTDONE;
   } 
   
  -ap_status_t ap_setprocattr_childin(struct ap_procattr_t *attr, ap_file_t *child_in,
  +ap_status_t ap_setprocattr_childin(ap_procattr_t *attr, ap_file_t *child_in,
                                      ap_file_t *parent_in)
   {
       if (attr->child_in == NULL && attr->parent_in == NULL)
  @@ -328,7 +328,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_setprocattr_childout(struct ap_procattr_t *attr, ap_file_t *child_out,
  +ap_status_t ap_setprocattr_childout(ap_procattr_t *attr, ap_file_t *child_out,
                                       ap_file_t *parent_out)
   {
       if (attr->child_out == NULL && attr->parent_out == NULL)
  @@ -343,7 +343,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_setprocattr_childerr(struct ap_procattr_t *attr, ap_file_t *child_err,
  +ap_status_t ap_setprocattr_childerr(ap_procattr_t *attr, ap_file_t *child_err,
                                      ap_file_t *parent_err)
   {
       if (attr->child_err == NULL && attr->parent_err == NULL)
  @@ -367,14 +367,14 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_put_os_proc(struct ap_proc_t **proc, ap_os_proc_t *theproc, 
  +ap_status_t ap_put_os_proc(ap_proc_t **proc, ap_os_proc_t *theproc, 
                              ap_context_t *cont)
   {
       if (cont == NULL) {
           return APR_ENOCONT;
       }
       if ((*proc) == NULL) {
  -        (*proc) = (struct ap_proc_t *)ap_palloc(cont, sizeof(struct ap_proc_t));
  +        (*proc) = (ap_proc_t *)ap_palloc(cont, sizeof(ap_proc_t));
           (*proc)->cntxt = cont;
       }
       (*proc)->tid = *theproc;
  
  
  
  1.11      +4 -4      apache-2.0/src/lib/apr/threadproc/beos/procsup.c
  
  Index: procsup.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/threadproc/beos/procsup.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- procsup.c	2000/04/03 18:37:42	1.10
  +++ procsup.c	2000/04/03 19:45:17	1.11
  @@ -54,11 +54,11 @@
   
   #include "threadproc.h"
   
  -ap_status_t ap_detach(struct ap_proc_t **new, ap_context_t *cont)
  +ap_status_t ap_detach(ap_proc_t **new, ap_context_t *cont)
   {
       int x;
   
  -    (*new) = (struct ap_proc_t *)ap_palloc(cont, sizeof(struct ap_proc_t));
  +    (*new) = (ap_proc_t *)ap_palloc(cont, sizeof(ap_proc_t));
       (*new)->cntxt = cont;
       (*new)->attr = NULL;
   
  @@ -89,7 +89,7 @@
       }
   }
   
  -ap_status_t ap_get_procdata(char *key, void *data, struct ap_proc_t *proc)
  +ap_status_t ap_get_procdata(char *key, void *data, ap_proc_t *proc)
   {
       if (proc != NULL) {
           return ap_get_userdata(data, key, proc->cntxt);
  @@ -102,7 +102,7 @@
   
   ap_status_t ap_set_procdata(void *data, char *key, 
                               ap_status_t (*cleanup) (void *), 
  -                            struct ap_proc_t *proc)
  +                            ap_proc_t *proc)
   {
       if (proc != NULL) {
           return ap_set_userdata(data, key, cleanup, proc->cntxt);
  
  
  
  1.7       +1 -1      apache-2.0/src/lib/apr/threadproc/beos/signals.c
  
  Index: signals.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/threadproc/beos/signals.c,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- signals.c	2000/04/03 18:37:43	1.6
  +++ signals.c	2000/04/03 19:45:18	1.7
  @@ -54,7 +54,7 @@
   
   #include "threadproc.h"
   
  -ap_status_t ap_kill(struct ap_proc_t *proc, int signal)
  +ap_status_t ap_kill(ap_proc_t *proc, int signal)
   {
   /* I've changed this to use kill_thread instead of kill() as kill()
      tended to kill the whole server! This isn't as good as it ignores
  
  
  
  1.9       +7 -7      apache-2.0/src/lib/apr/threadproc/beos/thread.c
  
  Index: thread.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/threadproc/beos/thread.c,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- thread.c	2000/04/03 18:37:43	1.8
  +++ thread.c	2000/04/03 19:45:18	1.9
  @@ -54,12 +54,12 @@
   
   #include "threadproc.h"
   
  -ap_status_t ap_create_threadattr(struct ap_threadattr_t **new, ap_context_t *cont)
  +ap_status_t ap_create_threadattr(ap_threadattr_t **new, ap_context_t *cont)
   {
       ap_status_t stat;
     
  -    (*new) = (struct ap_threadattr_t *)ap_palloc(cont, 
  -              sizeof(struct ap_threadattr_t));
  +    (*new) = (ap_threadattr_t *)ap_palloc(cont, 
  +              sizeof(ap_threadattr_t));
       (*new)->attr = (int32)ap_palloc(cont, 
                       sizeof(int32));
   
  @@ -73,7 +73,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_setthreadattr_detach(struct ap_threadattr_t *attr, ap_int32_t on)
  +ap_status_t ap_setthreadattr_detach(ap_threadattr_t *attr, ap_int32_t on)
   {
   	if (on == 1){
   		attr->detached = 1;
  @@ -83,7 +83,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_getthreadattr_detach(struct ap_threadattr_t *attr)
  +ap_status_t ap_getthreadattr_detach(ap_threadattr_t *attr)
   {
   	if (attr->detached == 1){
   		return APR_DETACH;
  @@ -91,14 +91,14 @@
   	return APR_NOTDETACH;
   }
   
  -ap_status_t ap_create_thread(struct ap_thread_t **new, struct ap_threadattr_t *attr,
  +ap_status_t ap_create_thread(ap_thread_t **new, ap_threadattr_t *attr,
                                ap_thread_start_t func, void *data,
                                ap_context_t *cont)
   {
       int32 temp;
       ap_status_t stat;
       
  -    (*new) = (struct ap_thread_t *)ap_palloc(cont, sizeof(struct ap_thread_t));
  +    (*new) = (ap_thread_t *)ap_palloc(cont, sizeof(ap_thread_t));
       if ((*new) == NULL) {
           return APR_ENOMEM;
       }
  
  
  
  1.7       +1 -1      apache-2.0/src/lib/apr/threadproc/beos/threadcancel.c
  
  Index: threadcancel.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/threadproc/beos/threadcancel.c,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- threadcancel.c	2000/04/03 18:37:44	1.6
  +++ threadcancel.c	2000/04/03 19:45:18	1.7
  @@ -55,7 +55,7 @@
   #include "threadproc.h"
   
   
  -ap_status_t ap_cancel_thread(struct ap_thread_t *thd)
  +ap_status_t ap_cancel_thread(ap_thread_t *thd)
   {
       if (kill_thread(thd->td) == 0) {
           return APR_SUCCESS;
  
  
  
  1.8       +5 -5      apache-2.0/src/lib/apr/threadproc/beos/threadpriv.c
  
  Index: threadpriv.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/threadproc/beos/threadpriv.c,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- threadpriv.c	2000/04/03 18:37:44	1.7
  +++ threadpriv.c	2000/04/03 19:45:19	1.8
  @@ -58,10 +58,10 @@
   static struct beos_private_data *beos_data[BEOS_MAX_DATAKEYS];
   static sem_id lock;
   
  -ap_status_t ap_create_thread_private(struct ap_threadkey_t **key,
  +ap_status_t ap_create_thread_private(ap_threadkey_t **key,
                                   void (*dest)(void *), ap_context_t *cont)
   {
  -    (*key) = (struct ap_threadkey_t *)ap_palloc(cont, sizeof(struct ap_threadkey_t));
  +    (*key) = (ap_threadkey_t *)ap_palloc(cont, sizeof(ap_threadkey_t));
       if ((*key) == NULL) {
           return APR_ENOMEM;
       }
  @@ -82,7 +82,7 @@
       return APR_ENOMEM;
   }
   
  -ap_status_t ap_get_thread_private(void **new, struct ap_threadkey_t *key)
  +ap_status_t ap_get_thread_private(void **new, ap_threadkey_t *key)
   {
   	thread_id tid;
   	int i, index=0;
  @@ -114,7 +114,7 @@
   	return APR_SUCCESS;
   }
   
  -ap_status_t ap_set_thread_private(void *priv, struct ap_threadkey_t *key)
  +ap_status_t ap_set_thread_private(void *priv, ap_threadkey_t *key)
   {
   	thread_id tid;
   	int i,index = 0, ret;
  @@ -169,7 +169,7 @@
   	return APR_ENOMEM;
   }
   
  -ap_status_t ap_delete_thread_private(struct ap_threadkey_t *key)
  +ap_status_t ap_delete_thread_private(ap_threadkey_t *key)
   {
   	if (key->key < BEOS_MAX_DATAKEYS){
   		acquire_sem(key_table[key->key].lock);
  
  
  
  1.17      +17 -17    apache-2.0/src/lib/apr/threadproc/os2/proc.c
  
  Index: proc.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/threadproc/os2/proc.c,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- proc.c	2000/04/03 18:37:46	1.16
  +++ proc.c	2000/04/03 19:45:21	1.17
  @@ -71,10 +71,10 @@
   #include <stdlib.h>
   #include <os2.h>
   
  -ap_status_t ap_createprocattr_init(struct ap_procattr_t **new, ap_context_t *cont)
  +ap_status_t ap_createprocattr_init(ap_procattr_t **new, ap_context_t *cont)
   {
  -    (*new) = (struct ap_procattr_t *)ap_palloc(cont, 
  -              sizeof(struct ap_procattr_t));
  +    (*new) = (ap_procattr_t *)ap_palloc(cont, 
  +              sizeof(ap_procattr_t));
   
       if ((*new) == NULL) {
           return APR_ENOMEM;
  @@ -92,7 +92,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_setprocattr_io(struct ap_procattr_t *attr, ap_int32_t in, 
  +ap_status_t ap_setprocattr_io(ap_procattr_t *attr, ap_int32_t in, 
                                    ap_int32_t out, ap_int32_t err)
   {
       ap_status_t stat;
  @@ -117,7 +117,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_setprocattr_dir(struct ap_procattr_t *attr, const char *dir)
  +ap_status_t ap_setprocattr_dir(ap_procattr_t *attr, const char *dir)
   {
       attr->currdir = ap_pstrdup(attr->cntxt, dir);
       if (attr->currdir) {
  @@ -126,24 +126,24 @@
       return APR_ENOMEM;
   }
   
  -ap_status_t ap_setprocattr_cmdtype(struct ap_procattr_t *attr,
  +ap_status_t ap_setprocattr_cmdtype(ap_procattr_t *attr,
                                        ap_cmdtype_e cmd) 
   {
       attr->cmdtype = cmd;
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_setprocattr_detach(struct ap_procattr_t *attr, ap_int32_t detach) 
  +ap_status_t ap_setprocattr_detach(ap_procattr_t *attr, ap_int32_t detach) 
   {
       attr->detached = detach;
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_fork(struct ap_proc_t **proc, ap_context_t *cont)
  +ap_status_t ap_fork(ap_proc_t **proc, ap_context_t *cont)
   {
       int pid;
       
  -    (*proc) = ap_palloc(cont, sizeof(struct ap_proc_t));
  +    (*proc) = ap_palloc(cont, sizeof(ap_proc_t));
   
       if ((pid = fork()) < 0) {
           return errno;
  @@ -165,7 +165,7 @@
   /* quotes in the string are doubled up.
    * Used to escape quotes in args passed to OS/2's cmd.exe
    */
  -static char *double_quotes(struct ap_context_t *cntxt, char *str)
  +static char *double_quotes(ap_context_t *cntxt, char *str)
   {
       int num_quotes = 0;
       int len = 0;
  @@ -190,9 +190,9 @@
   
   
   
  -ap_status_t ap_create_process(struct ap_proc_t **new, const char *progname,
  +ap_status_t ap_create_process(ap_proc_t **new, const char *progname,
                                 char *const args[], char **env,
  -                              struct ap_procattr_t *attr, ap_context_t *cont)
  +                              ap_procattr_t *attr, ap_context_t *cont)
   {
       int i, arg, numargs, cmdlen;
       ap_status_t status;
  @@ -208,7 +208,7 @@
       char *env_block, *env_block_pos;
       RESULTCODES rescodes;
   
  -    (*new) = (struct ap_proc_t *)ap_palloc(cont, sizeof(struct ap_proc_t));
  +    (*new) = (ap_proc_t *)ap_palloc(cont, sizeof(ap_proc_t));
   
       if ((*new) == NULL) {
           return APR_ENOMEM;
  @@ -412,25 +412,25 @@
   
   
   
  -ap_status_t ap_get_childin(ap_file_t **new, struct ap_proc_t *proc)
  +ap_status_t ap_get_childin(ap_file_t **new, ap_proc_t *proc)
   {
       (*new) = proc->attr->parent_in;
       return APR_SUCCESS; 
   }
   
  -ap_status_t ap_get_childout(ap_file_t **new, struct ap_proc_t *proc)
  +ap_status_t ap_get_childout(ap_file_t **new, ap_proc_t *proc)
   {
       (*new) = proc->attr->parent_out; 
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_get_childerr(ap_file_t **new, struct ap_proc_t *proc)
  +ap_status_t ap_get_childerr(ap_file_t **new, ap_proc_t *proc)
   {
       (*new) = proc->attr->parent_err; 
       return APR_SUCCESS;
   }    
   
  -ap_status_t ap_wait_proc(struct ap_proc_t *proc, 
  +ap_status_t ap_wait_proc(ap_proc_t *proc, 
                              ap_wait_how_e wait)
   {
       RESULTCODES codes;
  
  
  
  1.5       +1 -1      apache-2.0/src/lib/apr/threadproc/os2/signals.c
  
  Index: signals.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/threadproc/os2/signals.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- signals.c	2000/04/03 18:37:46	1.4
  +++ signals.c	2000/04/03 19:45:22	1.5
  @@ -63,7 +63,7 @@
   #define INCL_DOS
   #include <os2.h>
   
  -ap_status_t ap_kill(struct ap_proc_t *proc, int signal)
  +ap_status_t ap_kill(ap_proc_t *proc, int signal)
   {
   /* SIGTERM's don't work too well in OS/2 (only affects other EMX programs).
      CGIs may not be, esp. REXX scripts, so use a native call instead */
  
  
  
  1.9       +9 -9      apache-2.0/src/lib/apr/threadproc/os2/thread.c
  
  Index: thread.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/threadproc/os2/thread.c,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- thread.c	2000/04/03 18:37:46	1.8
  +++ thread.c	2000/04/03 19:45:22	1.9
  @@ -61,9 +61,9 @@
   #define INCL_DOS
   #include <os2.h>
   
  -ap_status_t ap_create_threadattr(struct ap_threadattr_t **new, ap_context_t *cont)
  +ap_status_t ap_create_threadattr(ap_threadattr_t **new, ap_context_t *cont)
   {
  -    (*new) = (struct ap_threadattr_t *)ap_palloc(cont, sizeof(struct ap_threadattr_t));
  +    (*new) = (ap_threadattr_t *)ap_palloc(cont, sizeof(ap_threadattr_t));
   
       if ((*new) == NULL) {
           return APR_ENOMEM;
  @@ -76,7 +76,7 @@
   
   
   
  -ap_status_t ap_setthreadattr_detach(struct ap_threadattr_t *attr, ap_int32_t on)
  +ap_status_t ap_setthreadattr_detach(ap_threadattr_t *attr, ap_int32_t on)
   {
       attr->attr |= APR_THREADATTR_DETACHED;
       return APR_SUCCESS;
  @@ -84,7 +84,7 @@
   
   
   
  -ap_status_t ap_getthreadattr_detach(struct ap_threadattr_t *attr)
  +ap_status_t ap_getthreadattr_detach(ap_threadattr_t *attr)
   {
       return (attr->attr & APR_THREADATTR_DETACHED) ? APR_DETACH : APR_NOTDETACH;
   }
  @@ -93,20 +93,20 @@
   
   static void ap_thread_begin(void *arg)
   {
  -  struct ap_thread_t *thread = (struct ap_thread_t *)arg;
  +  ap_thread_t *thread = (ap_thread_t *)arg;
     thread->rv = thread->func(thread->data);
   }
   
   
   
  -ap_status_t ap_create_thread(struct ap_thread_t **new, struct ap_threadattr_t *attr, 
  +ap_status_t ap_create_thread(ap_thread_t **new, ap_threadattr_t *attr, 
                                ap_thread_start_t func, void *data, 
                                ap_context_t *cont)
   {
       ap_status_t stat;
       ap_thread_t *thread;
    
  -    thread = (struct ap_thread_t *)ap_palloc(cont, sizeof(struct ap_thread_t));
  +    thread = (ap_thread_t *)ap_palloc(cont, sizeof(ap_thread_t));
       *new = thread;
   
       if (thread == NULL) {
  @@ -154,7 +154,7 @@
   
   
   
  -ap_status_t ap_thread_join(ap_status_t *retval, struct ap_thread_t *thd)
  +ap_status_t ap_thread_join(ap_status_t *retval, ap_thread_t *thd)
   {
       ULONG rc;
       TID waittid = thd->tid;
  @@ -169,7 +169,7 @@
   
   
   
  -ap_status_t ap_thread_detach(struct ap_thread_t *thd)
  +ap_status_t ap_thread_detach(ap_thread_t *thd)
   {
       thd->attr->attr |= APR_THREADATTR_DETACHED;
       return APR_SUCCESS;
  
  
  
  1.6       +1 -1      apache-2.0/src/lib/apr/threadproc/os2/threadcancel.c
  
  Index: threadcancel.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/threadproc/os2/threadcancel.c,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- threadcancel.c	2000/04/03 18:37:46	1.5
  +++ threadcancel.c	2000/04/03 19:45:22	1.6
  @@ -57,7 +57,7 @@
   #include "apr_general.h"
   #include "fileio.h"
   
  -ap_status_t ap_cancel_thread(struct ap_thread_t *thd)
  +ap_status_t ap_cancel_thread(ap_thread_t *thd)
   {
       return os2errno(DosKillThread(thd->tid));
   }
  
  
  
  1.7       +5 -5      apache-2.0/src/lib/apr/threadproc/os2/threadpriv.c
  
  Index: threadpriv.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/threadproc/os2/threadpriv.c,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- threadpriv.c	2000/04/03 18:37:46	1.6
  +++ threadpriv.c	2000/04/03 19:45:22	1.7
  @@ -59,10 +59,10 @@
   #include "apr_lib.h"
   #include "fileio.h"
   
  -ap_status_t ap_create_thread_private(struct ap_threadkey_t **key,
  +ap_status_t ap_create_thread_private(ap_threadkey_t **key,
                                        void (*dest)(void *), ap_context_t *cont)
   {
  -    (*key) = (struct ap_threadkey_t *)ap_palloc(cont, sizeof(struct ap_threadkey_t));
  +    (*key) = (ap_threadkey_t *)ap_palloc(cont, sizeof(ap_threadkey_t));
   
       if ((*key) == NULL) {
           return APR_ENOMEM;
  @@ -72,19 +72,19 @@
       return os2errno(DosAllocThreadLocalMemory(1, &((*key)->key)));
   }
   
  -ap_status_t ap_get_thread_private(void **new, struct ap_threadkey_t *key)
  +ap_status_t ap_get_thread_private(void **new, ap_threadkey_t *key)
   {
       (*new) = (void *)*(key->key);
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_set_thread_private(void *priv, struct ap_threadkey_t *key)
  +ap_status_t ap_set_thread_private(void *priv, ap_threadkey_t *key)
   {
       *(key->key) = (ULONG)priv;
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_delete_thread_private(struct ap_threadkey_t *key)
  +ap_status_t ap_delete_thread_private(ap_threadkey_t *key)
   {
       return os2errno(DosFreeThreadLocalMemory(key->key));
   }
  
  
  
  1.20      +22 -22    apache-2.0/src/lib/apr/threadproc/unix/proc.c
  
  Index: proc.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/threadproc/unix/proc.c,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- proc.c	2000/04/03 18:37:48	1.19
  +++ proc.c	2000/04/03 19:45:25	1.20
  @@ -61,10 +61,10 @@
    * arg 1) The newly created procattr. 
    * arg 2) The context to use
    */
  -ap_status_t ap_createprocattr_init(struct ap_procattr_t **new, ap_context_t *cont)
  +ap_status_t ap_createprocattr_init(ap_procattr_t **new, ap_context_t *cont)
   {
  -    (*new) = (struct ap_procattr_t *)ap_palloc(cont, 
  -              sizeof(struct ap_procattr_t));
  +    (*new) = (ap_procattr_t *)ap_palloc(cont, 
  +              sizeof(ap_procattr_t));
   
       if ((*new) == NULL) {
           return APR_ENOMEM;
  @@ -92,7 +92,7 @@
    * arg 3) Should stdout be a pipe bnack to the parent?
    * arg 4) Should stderr be a pipe bnack to the parent?
    */
  -ap_status_t ap_setprocattr_io(struct ap_procattr_t *attr, ap_int32_t in, 
  +ap_status_t ap_setprocattr_io(ap_procattr_t *attr, ap_int32_t in, 
                                    ap_int32_t out, ap_int32_t err)
   {
       ap_status_t status;
  @@ -159,7 +159,7 @@
    * arg 2) ap_file_t value to use as child_in. Must be a valid file.
    * arg 3) ap_file_t value to use as parent_in. Must be a valid file.
    */
  -ap_status_t ap_setprocattr_childin(struct ap_procattr_t *attr, ap_file_t *child_in,
  +ap_status_t ap_setprocattr_childin(ap_procattr_t *attr, ap_file_t *child_in,
                                      ap_file_t *parent_in)
   {
       if (attr->child_in == NULL && attr->parent_in == NULL)
  @@ -188,7 +188,7 @@
    * arg 2) ap_file_t value to use as child_out. Must be a valid file.
    * arg 3) ap_file_t value to use as parent_out. Must be a valid file.
    */
  -ap_status_t ap_setprocattr_childout(struct ap_procattr_t *attr, ap_file_t *child_out,
  +ap_status_t ap_setprocattr_childout(ap_procattr_t *attr, ap_file_t *child_out,
                                       ap_file_t *parent_out)
   {
       if (attr->child_out == NULL && attr->parent_out == NULL)
  @@ -217,7 +217,7 @@
    * arg 2) ap_file_t value to use as child_err. Must be a valid file.
    * arg 3) ap_file_t value to use as parent_err. Must be a valid file.
    */
  -ap_status_t ap_setprocattr_childerr(struct ap_procattr_t *attr, ap_file_t *child_err,
  +ap_status_t ap_setprocattr_childerr(ap_procattr_t *attr, ap_file_t *child_err,
                                      ap_file_t *parent_err)
   {
       if (attr->child_err == NULL && attr->parent_err == NULL)
  @@ -241,7 +241,7 @@
    *        the parent currently resides in, when the createprocess call
    *        is made. 
    */
  -ap_status_t ap_setprocattr_dir(struct ap_procattr_t *attr, 
  +ap_status_t ap_setprocattr_dir(ap_procattr_t *attr, 
                                  const char *dir) 
   {
       attr->currdir = ap_pstrdup(attr->cntxt, dir);
  @@ -259,7 +259,7 @@
    *            APR_SHELLCMD --  Shell script
    *            APR_PROGRAM  --  Executable program   (default) 
    */
  -ap_status_t ap_setprocattr_cmdtype(struct ap_procattr_t *attr,
  +ap_status_t ap_setprocattr_cmdtype(ap_procattr_t *attr,
                                        ap_cmdtype_e cmd) 
   {
       attr->cmdtype = cmd;
  @@ -272,7 +272,7 @@
    * arg 1) The procattr we care about. 
    * arg 2) Should the child start in detached state?  Default is no. 
    */
  -ap_status_t ap_setprocattr_detach(struct ap_procattr_t *attr, ap_int32_t detach) 
  +ap_status_t ap_setprocattr_detach(ap_procattr_t *attr, ap_int32_t detach) 
   {
       attr->detached = detach;
       return APR_SUCCESS;
  @@ -285,11 +285,11 @@
    * arg 1) The resulting process handle. 
    * arg 2) The context to use. 
    */
  -ap_status_t ap_fork(struct ap_proc_t **proc, ap_context_t *cont)
  +ap_status_t ap_fork(ap_proc_t **proc, ap_context_t *cont)
   {
       int pid;
       
  -    (*proc) = ap_palloc(cont, sizeof(struct ap_proc_t));
  +    (*proc) = ap_palloc(cont, sizeof(ap_proc_t));
   
       if ((pid = fork()) < 0) {
           return errno;
  @@ -319,16 +319,16 @@
    *        process
    * arg 6) The context to use. 
    */
  -ap_status_t ap_create_process(struct ap_proc_t **new, const char *progname, 
  +ap_status_t ap_create_process(ap_proc_t **new, const char *progname, 
                                 char *const args[], char **env,
  -                              struct ap_procattr_t *attr, ap_context_t *cont)
  +                              ap_procattr_t *attr, ap_context_t *cont)
   {
       int i;
       typedef const char *my_stupid_string;
       my_stupid_string *newargs;
  -    struct ap_proc_t *pgrp; 
  +    ap_proc_t *pgrp; 
   
  -    (*new) = (struct ap_proc_t *)ap_palloc(cont, sizeof(struct ap_proc_t));
  +    (*new) = (ap_proc_t *)ap_palloc(cont, sizeof(ap_proc_t));
   
       if ((*new) == NULL) {
           return APR_ENOMEM;
  @@ -417,7 +417,7 @@
    * arg 1) The returned file handle. 
    * arg 2) The process handle that corresponds to the desired child process 
    */
  -ap_status_t ap_get_childin(ap_file_t **new, struct ap_proc_t *proc)
  +ap_status_t ap_get_childin(ap_file_t **new, ap_proc_t *proc)
   {
       (*new) = proc->attr->parent_in;
       return APR_SUCCESS; 
  @@ -429,7 +429,7 @@
    * arg 1) The returned file handle. 
    * arg 2) The process handle that corresponds to the desired child process 
    */
  -ap_status_t ap_get_childout(ap_file_t **new, struct ap_proc_t *proc)
  +ap_status_t ap_get_childout(ap_file_t **new, ap_proc_t *proc)
   {
       (*new) = proc->attr->parent_out; 
       return APR_SUCCESS;
  @@ -441,7 +441,7 @@
    * arg 1) The returned file handle. 
    * arg 2) The process handle that corresponds to the desired child process 
    */
  -ap_status_t ap_get_childerr(ap_file_t **new, struct ap_proc_t *proc)
  +ap_status_t ap_get_childerr(ap_file_t **new, ap_proc_t *proc)
   {
       (*new) = proc->attr->parent_err; 
       return APR_SUCCESS;
  @@ -460,7 +460,7 @@
    *            APR_CHILD_DONE     -- child is no longer running.
    *            APR_CHILD_NOTDONE  -- child is still running.
    */
  -ap_status_t ap_wait_proc(struct ap_proc_t *proc, 
  +ap_status_t ap_wait_proc(ap_proc_t *proc, 
                              ap_wait_how_e waithow)
   {
       pid_t status;
  @@ -507,14 +507,14 @@
    * arg 2) The os specific proc to convert
    * arg 3) The context to use if it is needed.
    */
  -ap_status_t ap_put_os_proc(struct ap_proc_t **proc, ap_os_proc_t *theproc, 
  +ap_status_t ap_put_os_proc(ap_proc_t **proc, ap_os_proc_t *theproc, 
                              ap_context_t *cont)
   {
       if (cont == NULL) {
           return APR_ENOCONT;
       }
       if ((*proc) == NULL) {
  -        (*proc) = (struct ap_proc_t *)ap_palloc(cont, sizeof(struct ap_proc_t));
  +        (*proc) = (ap_proc_t *)ap_palloc(cont, sizeof(ap_proc_t));
           (*proc)->cntxt = cont;
       }
       (*proc)->pid = *theproc;
  
  
  
  1.14      +4 -4      apache-2.0/src/lib/apr/threadproc/unix/procsup.c
  
  Index: procsup.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/threadproc/unix/procsup.c,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- procsup.c	2000/04/03 18:37:48	1.13
  +++ procsup.c	2000/04/03 19:45:26	1.14
  @@ -60,11 +60,11 @@
    * arg 1) The new process handler
    * arg 2) The context to use if it is needed.
    */
  -ap_status_t ap_detach(struct ap_proc_t **new, ap_context_t *cont)
  +ap_status_t ap_detach(ap_proc_t **new, ap_context_t *cont)
   {
       int x;
   
  -    (*new) = (struct ap_proc_t *)ap_palloc(cont, sizeof(struct ap_proc_t));
  +    (*new) = (ap_proc_t *)ap_palloc(cont, sizeof(ap_proc_t));
       (*new)->cntxt = cont;
       (*new)->attr = NULL;
   
  @@ -131,7 +131,7 @@
    * arg 2) The user data associated with the proc.
    * arg 3) The currently open proc.
    */
  -ap_status_t ap_get_procdata(char *key, void *data, struct ap_proc_t *proc)
  +ap_status_t ap_get_procdata(char *key, void *data, ap_proc_t *proc)
   {
       if (proc != NULL) {
           return ap_get_userdata(data, key, proc->cntxt);
  @@ -153,7 +153,7 @@
   */
   ap_status_t ap_set_procdata(void *data, char *key, 
                               ap_status_t (*cleanup) (void *),
  -                            struct ap_proc_t *proc)
  +                            ap_proc_t *proc)
   {
       if (proc != NULL) {
           return ap_set_userdata(data, key, cleanup, proc->cntxt);
  
  
  
  1.8       +1 -1      apache-2.0/src/lib/apr/threadproc/unix/signals.c
  
  Index: signals.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/threadproc/unix/signals.c,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- signals.c	2000/04/03 18:37:48	1.7
  +++ signals.c	2000/04/03 19:45:26	1.8
  @@ -60,7 +60,7 @@
    * arg 1) The process to terminate.
    * arg 2) How to kill the process.
    */
  -ap_status_t ap_kill(struct ap_proc_t *proc, int sig)
  +ap_status_t ap_kill(ap_proc_t *proc, int sig)
   {
       if (kill(proc->pid, sig) == -1) {
           return errno;
  
  
  
  1.15      +14 -14    apache-2.0/src/lib/apr/threadproc/unix/thread.c
  
  Index: thread.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/threadproc/unix/thread.c,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- thread.c	2000/04/03 18:37:48	1.14
  +++ thread.c	2000/04/03 19:45:27	1.15
  @@ -64,12 +64,12 @@
    * arg 1) The newly created threadattr.
    * arg 2) The context to use
    */
  -ap_status_t ap_create_threadattr(struct ap_threadattr_t **new, ap_context_t *cont)
  +ap_status_t ap_create_threadattr(ap_threadattr_t **new, ap_context_t *cont)
   {
       ap_status_t stat;
     
  -    (*new) = (struct ap_threadattr_t *)ap_palloc(cont, 
  -              sizeof(struct ap_threadattr_t));
  +    (*new) = (ap_threadattr_t *)ap_palloc(cont, 
  +              sizeof(ap_threadattr_t));
       (*new)->attr = (pthread_attr_t *)ap_palloc(cont, 
                       sizeof(pthread_attr_t));
   
  @@ -92,7 +92,7 @@
    * arg 1) The threadattr to affect 
    * arg 2) Thread detach state on or off
    */
  -ap_status_t ap_setthreadattr_detach(struct ap_threadattr_t *attr, ap_int32_t on)
  +ap_status_t ap_setthreadattr_detach(ap_threadattr_t *attr, ap_int32_t on)
   {
       ap_status_t stat;
       if ((stat = pthread_attr_setdetachstate(attr->attr, on)) == 0) {
  @@ -108,7 +108,7 @@
    *    Get the detach mode for this threadattr.
    * arg 1) The threadattr to reference 
    */
  -ap_status_t ap_getthreadattr_detach(struct ap_threadattr_t *attr)
  +ap_status_t ap_getthreadattr_detach(ap_threadattr_t *attr)
   {
       int state;
   
  @@ -129,14 +129,14 @@
    * arg 4) Any data to be passed to the starting function
    * arg 5) The context to use
    */
  -ap_status_t ap_create_thread(struct ap_thread_t **new, struct ap_threadattr_t *attr, 
  +ap_status_t ap_create_thread(ap_thread_t **new, ap_threadattr_t *attr, 
                                ap_thread_start_t func, void *data, 
                                ap_context_t *cont)
   {
       ap_status_t stat;
       pthread_attr_t *temp;
    
  -    (*new) = (struct ap_thread_t *)ap_palloc(cont, sizeof(struct ap_thread_t));
  +    (*new) = (ap_thread_t *)ap_palloc(cont, sizeof(ap_thread_t));
   
       if ((*new) == NULL) {
           return APR_ENOMEM;
  @@ -187,7 +187,7 @@
    * arg 1) The return value from the dead thread.
    * arg 2) The thread to join
    */
  -ap_status_t ap_thread_join(ap_status_t *retval, struct ap_thread_t *thd)
  +ap_status_t ap_thread_join(ap_status_t *retval, ap_thread_t *thd)
   {
       ap_status_t stat;
   
  @@ -204,7 +204,7 @@
    *    detach a thread
    * arg 1) The thread to detach 
    */
  -ap_status_t ap_thread_detach(struct ap_thread_t *thd)
  +ap_status_t ap_thread_detach(ap_thread_t *thd)
   {
       ap_status_t stat;
   
  @@ -223,7 +223,7 @@
    * arg 2) The key to associate with the data
    * arg 3) The currently open thread.
    */
  -ap_status_t ap_get_threaddata(void **data, char *key, struct ap_thread_t *thread)
  +ap_status_t ap_get_threaddata(void **data, char *key, ap_thread_t *thread)
   {
       if (thread != NULL) {
           return ap_get_userdata(data, key, thread->cntxt);
  @@ -246,7 +246,7 @@
    */
   ap_status_t ap_set_threaddata(void *data, char *key,
                                 ap_status_t (*cleanup) (void *),
  -                              struct ap_thread_t *thread)
  +                              ap_thread_t *thread)
   {
       if (thread != NULL) {
           return ap_set_userdata(data, key, cleanup, thread->cntxt);
  @@ -263,7 +263,7 @@
    * arg 1) The apr thread to convert
    * arg 2) The os specific thread we are converting to
    */
  -ap_status_t ap_get_os_thread(ap_os_thread_t *thethd, struct ap_thread_t *thd)
  +ap_status_t ap_get_os_thread(ap_os_thread_t *thethd, ap_thread_t *thd)
   {
       if (thd == NULL) {
           return APR_ENOTHREAD;
  @@ -280,14 +280,14 @@
    * arg 2) The os specific thread to convert
    * arg 3) The context to use if it is needed.
    */
  -ap_status_t ap_put_os_thread(struct ap_thread_t **thd, ap_os_thread_t *thethd, 
  +ap_status_t ap_put_os_thread(ap_thread_t **thd, ap_os_thread_t *thethd, 
                                ap_context_t *cont)
   {
       if (cont == NULL) {
           return APR_ENOCONT;
       }
       if ((*thd) == NULL) {
  -        (*thd) = (struct ap_thread_t *)ap_palloc(cont, sizeof(struct ap_thread_t));
  +        (*thd) = (ap_thread_t *)ap_palloc(cont, sizeof(ap_thread_t));
           (*thd)->cntxt = cont;
       }
       (*thd)->td = thethd;
  
  
  
  1.10      +1 -1      apache-2.0/src/lib/apr/threadproc/unix/threadcancel.c
  
  Index: threadcancel.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/threadproc/unix/threadcancel.c,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- threadcancel.c	2000/04/03 18:37:49	1.9
  +++ threadcancel.c	2000/04/03 19:45:28	1.10
  @@ -63,7 +63,7 @@
    *    Asynchronously kill a thread
    * arg 1) The thread to kill.
    */
  -ap_status_t ap_cancel_thread(struct ap_thread_t *thd)
  +ap_status_t ap_cancel_thread(ap_thread_t *thd)
   {
       ap_status_t stat;
       if ((stat = pthread_cancel(*thd->td)) == 0) {
  
  
  
  1.14      +15 -15    apache-2.0/src/lib/apr/threadproc/unix/threadpriv.c
  
  Index: threadpriv.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/threadproc/unix/threadpriv.c,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- threadpriv.c	2000/04/03 18:37:49	1.13
  +++ threadpriv.c	2000/04/03 19:45:28	1.14
  @@ -67,11 +67,11 @@
    * arg 2) The destructor to use when freeing the private memory.
    * arg 3) The context to use
    */
  -ap_status_t ap_create_thread_private(struct ap_threadkey_t **key, 
  +ap_status_t ap_create_thread_private(ap_threadkey_t **key, 
                                        void (*dest)(void *), ap_context_t *cont)
   {
       ap_status_t stat;
  -    (*key) = (struct ap_threadkey_t *)ap_palloc(cont, sizeof(struct ap_threadkey_t));
  +    (*key) = (ap_threadkey_t *)ap_palloc(cont, sizeof(ap_threadkey_t));
   
       if ((*key) == NULL) {
           return APR_ENOMEM;
  @@ -86,24 +86,24 @@
   }
   
   /* ***APRDOC********************************************************
  - * ap_status_t ap_get_thread_private(void **new, ap_key_t *key)
  + * ap_status_t ap_get_thread_private(void **new, ap_threadkey_t *key)
    *    Get a pointer to the thread private memory
    * arg 1) The data stored in private memory 
    * arg 2) The handle for the desired thread private memory 
    */
  -ap_status_t ap_get_thread_private(void **new, struct ap_threadkey_t *key)
  +ap_status_t ap_get_thread_private(void **new, ap_threadkey_t *key)
   {
       (*new) = pthread_getspecific(key->key);
       return APR_SUCCESS;
   }
   
   /* ***APRDOC********************************************************
  - * ap_status_t ap_set_thread_private(void *priv, ap_key_t *key)
  + * ap_status_t ap_set_thread_private(void *priv, ap_threadkey_t *key)
    *    Set the data to be stored in thread private memory
    * arg 1) The data to be stored in private memory 
    * arg 2) The handle for the desired thread private memory 
    */
  -ap_status_t ap_set_thread_private(void *priv, struct ap_threadkey_t *key)
  +ap_status_t ap_set_thread_private(void *priv, ap_threadkey_t *key)
   {
       ap_status_t stat;
       if ((stat = pthread_setspecific(key->key, priv)) == 0) {
  @@ -115,11 +115,11 @@
   }
   
   /* ***APRDOC********************************************************
  - * ap_status_t ap_delete_thread_private(ap_key_t *key)
  + * ap_status_t ap_delete_thread_private(ap_threadkey_t *key)
    *    Free the thread private memory
    * arg 1) The handle for the desired thread private memory 
    */
  -ap_status_t ap_delete_thread_private(struct ap_threadkey_t *key)
  +ap_status_t ap_delete_thread_private(ap_threadkey_t *key)
   {
       ap_status_t stat;
       if ((stat = pthread_key_delete(key->key)) == 0) {
  @@ -136,7 +136,7 @@
    * arg 2) The key associated with the data
    * arg 3) The currently open threadkey.
    */
  -ap_status_t ap_get_threadkeydata(void **data, char *key, struct ap_threadkey_t *threadkey)
  +ap_status_t ap_get_threadkeydata(void **data, char *key, ap_threadkey_t *threadkey)
   {
       if (threadkey != NULL) {
           return ap_get_userdata(data, key, threadkey->cntxt);
  @@ -159,7 +159,7 @@
    */
   ap_status_t ap_set_threadkeydata(void *data,
                                    char *key, ap_status_t (*cleanup) (void *),
  -                                 struct ap_threadkey_t *threadkey)
  +                                 ap_threadkey_t *threadkey)
   {
       if (threadkey != NULL) {
           return ap_set_userdata(data, key, cleanup, threadkey->cntxt);
  @@ -171,13 +171,13 @@
   }
   
   /* ***APRDOC********************************************************
  - * ap_status_t ap_get_os_threadkey(ap_key_t *thekey, ap_os_threadkey_t *key)
  + * ap_status_t ap_get_os_threadkey(ap_threadkey_t *thekey, ap_os_threadkey_t *key)
    *    convert the thread private memory key to os specific type 
    *    from an apr type.
    * arg 1) The apr handle we are converting from.
    * arg 2) The os specific handle we are converting to.
    */
  -ap_status_t ap_get_os_threadkey(ap_os_threadkey_t *thekey, struct ap_threadkey_t *key)
  +ap_status_t ap_get_os_threadkey(ap_os_threadkey_t *thekey, ap_threadkey_t *key)
   {
       if (key == NULL) {
           return APR_ENOFILE;
  @@ -187,21 +187,21 @@
   }
   
   /* ***APRDOC********************************************************
  - * ap_status_t ap_put_os_threadkey(ap_key_t *key, ap_os_threadkey_t *thekey, 
  + * ap_status_t ap_put_os_threadkey(ap_threadkey_t *key, ap_os_threadkey_t *thekey, 
    *                                 ap_context_t *cont)
    *    convert the thread private memory key from os specific type to apr type.
    * arg 1) The apr handle we are converting to.
    * arg 2) The os specific handle to convert
    * arg 3) The context to use if it is needed.
    */
  -ap_status_t ap_put_os_threadkey(struct ap_threadkey_t **key, 
  +ap_status_t ap_put_os_threadkey(ap_threadkey_t **key, 
                                   ap_os_threadkey_t *thekey, ap_context_t *cont)
   {
       if (cont == NULL) {
           return APR_ENOCONT;
       }
       if ((*key) == NULL) {
  -        (*key) = (struct ap_threadkey_t *)ap_palloc(cont, sizeof(struct ap_threadkey_t));
  +        (*key) = (ap_threadkey_t *)ap_palloc(cont, sizeof(ap_threadkey_t));
           (*key)->cntxt = cont;
       }
       (*key)->key = *thekey;
  
  
  
  1.21      +21 -21    apache-2.0/src/lib/apr/threadproc/win32/proc.c
  
  Index: proc.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/threadproc/win32/proc.c,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- proc.c	2000/04/03 18:37:52	1.20
  +++ proc.c	2000/04/03 19:45:35	1.21
  @@ -65,10 +65,10 @@
   #include <string.h>
   #include <process.h>
   
  -ap_status_t ap_createprocattr_init(struct ap_procattr_t **new, ap_context_t *cont)
  +ap_status_t ap_createprocattr_init(ap_procattr_t **new, ap_context_t *cont)
   {
  -    (*new) = (struct ap_procattr_t *)ap_palloc(cont, 
  -              sizeof(struct ap_procattr_t));
  +    (*new) = (ap_procattr_t *)ap_palloc(cont, 
  +              sizeof(ap_procattr_t));
   
       if ((*new) == NULL) {
           return APR_ENOMEM;
  @@ -89,7 +89,7 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_setprocattr_io(struct ap_procattr_t *attr, ap_int32_t in, 
  +ap_status_t ap_setprocattr_io(ap_procattr_t *attr, ap_int32_t in, 
                                 ap_int32_t out, ap_int32_t err)
   {
       ap_status_t stat;
  @@ -114,11 +114,11 @@
       return APR_SUCCESS;
   }
   #if 0
  -ap_status_t ap_setprocattr_childin(struct ap_procattr_t *attr, ap_file_t *child_in,
  +ap_status_t ap_setprocattr_childin(ap_procattr_t *attr, ap_file_t *child_in,
                                      ap_file_t *parent_in)
   {
   }
  -ap_status_t ap_setprocattr_childout(struct ap_procattr_t *attr, ap_file_t *child_out,
  +ap_status_t ap_setprocattr_childout(ap_procattr_t *attr, ap_file_t *child_out,
                                       ap_file_t *parent_out)
   {
       if (attr->child_out == NULL && attr->parent_out == NULL)
  @@ -132,7 +132,7 @@
   
       return APR_SUCCESS;
   }
  -ap_status_t ap_setprocattr_childerr(struct ap_procattr_t *attr, ap_file_t *child_err,
  +ap_status_t ap_setprocattr_childerr(ap_procattr_t *attr, ap_file_t *child_err,
                                      ap_file_t *parent_err)
   {
       if (attr->child_err == NULL && attr->parent_err == NULL)
  @@ -146,7 +146,7 @@
       return APR_SUCCESS;
   }
   #endif
  -ap_status_t ap_setprocattr_dir(struct ap_procattr_t *attr, 
  +ap_status_t ap_setprocattr_dir(ap_procattr_t *attr, 
                                  const char *dir) 
   {
       char path[MAX_PATH];
  @@ -170,22 +170,22 @@
       return APR_ENOMEM;
   }
   
  -ap_status_t ap_setprocattr_cmdtype(struct ap_procattr_t *attr,
  +ap_status_t ap_setprocattr_cmdtype(ap_procattr_t *attr,
                                        ap_cmdtype_e cmd) 
   {
       attr->cmdtype = cmd;
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_setprocattr_detach(struct ap_procattr_t *attr, ap_int32_t det) 
  +ap_status_t ap_setprocattr_detach(ap_procattr_t *attr, ap_int32_t det) 
   {
       attr->detached = det;
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_create_process(struct ap_proc_t **new, const char *progname, 
  +ap_status_t ap_create_process(ap_proc_t **new, const char *progname, 
                                 char *const args[], char **env, 
  -                              struct ap_procattr_t *attr, ap_context_t *cont)
  +                              ap_procattr_t *attr, ap_context_t *cont)
   {
       int i, iEnvBlockLen;
       char *cmdline;
  @@ -195,7 +195,7 @@
       char *envstr;
       char *pEnvBlock, *pNext;
   
  -    (*new) = (struct ap_proc_t *)ap_palloc(cont, sizeof(struct ap_proc_t));
  +    (*new) = (ap_proc_t *)ap_palloc(cont, sizeof(ap_proc_t));
   
       if ((*new) == NULL) {
           return APR_ENOMEM;
  @@ -364,25 +364,25 @@
       return GetLastError();
   }
   
  -ap_status_t ap_get_childin(ap_file_t **new, struct ap_proc_t *proc)
  +ap_status_t ap_get_childin(ap_file_t **new, ap_proc_t *proc)
   {
       (*new) = proc->attr->parent_in;
       return APR_SUCCESS; 
   }
   
  -ap_status_t ap_get_childout(ap_file_t **new, struct ap_proc_t *proc)
  +ap_status_t ap_get_childout(ap_file_t **new, ap_proc_t *proc)
   {
       (*new) = proc->attr->parent_out; 
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_get_childerr(ap_file_t **new, struct ap_proc_t *proc)
  +ap_status_t ap_get_childerr(ap_file_t **new, ap_proc_t *proc)
   {
       (*new) = proc->attr->parent_err; 
       return APR_SUCCESS;
   }    
   
  -ap_status_t ap_wait_proc(struct ap_proc_t *proc, 
  +ap_status_t ap_wait_proc(ap_proc_t *proc, 
                            ap_wait_how_e wait)
   {
       DWORD stat;
  @@ -406,7 +406,7 @@
       return GetLastError();
   }
   
  -ap_status_t ap_get_procdata(char *key, void *data, struct ap_proc_t *proc)
  +ap_status_t ap_get_procdata(char *key, void *data, ap_proc_t *proc)
   {
       if (proc != NULL) {
           return ap_get_userdata(data, key, proc->cntxt);
  @@ -419,7 +419,7 @@
   
   ap_status_t ap_set_procdata(void *data, char *key,
                               ap_status_t (*cleanup) (void *),
  -                            struct ap_proc_t *proc)
  +                            ap_proc_t *proc)
   {
       if (proc != NULL) {
           return ap_set_userdata(data, key, cleanup, proc->cntxt);
  @@ -439,14 +439,14 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_put_os_proc(struct ap_proc_t **proc, ap_os_proc_t *theproc, 
  +ap_status_t ap_put_os_proc(ap_proc_t **proc, ap_os_proc_t *theproc, 
                              ap_context_t *cont)
   {
       if (cont == NULL) {
           return APR_ENOCONT;
       }
       if ((*proc) == NULL) {
  -        (*proc) = (struct ap_proc_t *)ap_palloc(cont, sizeof(struct ap_proc_t));
  +        (*proc) = (ap_proc_t *)ap_palloc(cont, sizeof(ap_proc_t));
           (*proc)->cntxt = cont;
       }
       (*proc)->pi = *theproc;
  
  
  
  1.5       +1 -1      apache-2.0/src/lib/apr/threadproc/win32/signals.c
  
  Index: signals.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/threadproc/win32/signals.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- signals.c	2000/04/03 18:37:53	1.4
  +++ signals.c	2000/04/03 19:45:35	1.5
  @@ -64,7 +64,7 @@
   #endif
   
   /* Windows only really support killing process, but that will do for now. */
  -ap_status_t ap_kill(struct ap_proc_t *proc, int signal)
  +ap_status_t ap_kill(ap_proc_t *proc, int signal)
   {
       if (TerminateProcess(proc->pi.hProcess, signal) == 0) {
           return errno;
  
  
  
  1.14      +14 -14    apache-2.0/src/lib/apr/threadproc/win32/thread.c
  
  Index: thread.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/threadproc/win32/thread.c,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- thread.c	2000/04/03 18:40:42	1.13
  +++ thread.c	2000/04/03 19:45:35	1.14
  @@ -61,10 +61,10 @@
   #include <process.h>
   
   
  -ap_status_t ap_create_threadattr(struct ap_threadattr_t **new, ap_context_t *cont)
  +ap_status_t ap_create_threadattr(ap_threadattr_t **new, ap_context_t *cont)
   {
  -    (*new) = (struct ap_threadattr_t *)ap_palloc(cont, 
  -              sizeof(struct ap_threadattr_t));
  +    (*new) = (ap_threadattr_t *)ap_palloc(cont, 
  +              sizeof(ap_threadattr_t));
   
       if ((*new) == NULL) {
           return APR_ENOMEM;
  @@ -74,20 +74,20 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_setthreadattr_detach(struct ap_threadattr_t *attr, ap_int32_t on)
  +ap_status_t ap_setthreadattr_detach(ap_threadattr_t *attr, ap_int32_t on)
   {
       attr->detach = on;
   	return APR_SUCCESS;
   }
   
  -ap_status_t ap_getthreadattr_detach(struct ap_threadattr_t *attr)
  +ap_status_t ap_getthreadattr_detach(ap_threadattr_t *attr)
   {
       if (attr->detach == 1)
           return APR_DETACH;
       return APR_NOTDETACH;
   }
   
  -ap_status_t ap_create_thread(struct ap_thread_t **new, struct ap_threadattr_t *attr, 
  +ap_status_t ap_create_thread(ap_thread_t **new, ap_threadattr_t *attr, 
                                ap_thread_start_t func, void *data, 
                                ap_context_t *cont)
   {
  @@ -95,7 +95,7 @@
   	unsigned temp;
       int lasterror;
    
  -    (*new) = (struct ap_thread_t *)ap_palloc(cont, sizeof(struct ap_thread_t));
  +    (*new) = (ap_thread_t *)ap_palloc(cont, sizeof(ap_thread_t));
   
       if ((*new) == NULL) {
           return APR_ENOMEM;
  @@ -131,7 +131,7 @@
   	return APR_SUCCESS;
   }
   
  -ap_status_t ap_thread_join(ap_status_t *retval, struct ap_thread_t *thd)
  +ap_status_t ap_thread_join(ap_status_t *retval, ap_thread_t *thd)
   {
       ap_status_t stat;
   
  @@ -146,7 +146,7 @@
       }
   }
   
  -ap_status_t ap_thread_detach(struct ap_thread_t *thd)
  +ap_status_t ap_thread_detach(ap_thread_t *thd)
   {
       if (CloseHandle(thd->td)) {
           return APR_SUCCESS;
  @@ -156,7 +156,7 @@
       }
   }
   
  -ap_status_t ap_get_threaddata(void **data, char *key, struct ap_thread_t *thread)
  +ap_status_t ap_get_threaddata(void **data, char *key, ap_thread_t *thread)
   {
       if (thread != NULL) {
           return ap_get_userdata(data, key, thread->cntxt);
  @@ -169,7 +169,7 @@
   
   ap_status_t ap_set_threaddata(void *data, char *key,
                                 ap_status_t (*cleanup) (void *),
  -                              struct ap_thread_t *thread)
  +                              ap_thread_t *thread)
   {
       if (thread != NULL) {
           return ap_set_userdata(data, key, cleanup, thread->cntxt);
  @@ -180,7 +180,7 @@
       }
   }
   
  -ap_status_t ap_get_os_thread(ap_os_thread_t *thethd, struct ap_thread_t *thd)
  +ap_status_t ap_get_os_thread(ap_os_thread_t *thethd, ap_thread_t *thd)
   {
       if (thd == NULL) {
           return APR_ENOTHREAD;
  @@ -189,14 +189,14 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_put_os_thread(struct ap_thread_t **thd, ap_os_thread_t *thethd, 
  +ap_status_t ap_put_os_thread(ap_thread_t **thd, ap_os_thread_t *thethd, 
                                ap_context_t *cont)
   {
       if (cont == NULL) {
           return APR_ENOCONT;
       }
       if ((*thd) == NULL) {
  -        (*thd) = (struct ap_thread_t *)ap_palloc(cont, sizeof(struct ap_thread_t));
  +        (*thd) = (ap_thread_t *)ap_palloc(cont, sizeof(ap_thread_t));
           (*thd)->cntxt = cont;
       }
       (*thd)->td = thethd;
  
  
  
  1.6       +1 -1      apache-2.0/src/lib/apr/threadproc/win32/threadcancel.c
  
  Index: threadcancel.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/threadproc/win32/threadcancel.c,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- threadcancel.c	2000/04/03 18:37:53	1.5
  +++ threadcancel.c	2000/04/03 19:45:36	1.6
  @@ -57,7 +57,7 @@
   #include "apr_general.h"
   
   
  -ap_status_t ap_cancel_thread(struct ap_thread_t *thd)
  +ap_status_t ap_cancel_thread(ap_thread_t *thd)
   {
       if (TerminateThread(thd->td, APR_SUCCESS) == 0) {
           return APR_EEXIST;
  
  
  
  1.12      +9 -9      apache-2.0/src/lib/apr/threadproc/win32/threadpriv.c
  
  Index: threadpriv.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/threadproc/win32/threadpriv.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- threadpriv.c	2000/04/03 18:37:53	1.11
  +++ threadpriv.c	2000/04/03 19:45:36	1.12
  @@ -59,14 +59,14 @@
   #include "apr_errno.h"
   #include "apr_portable.h"
   
  -ap_status_t ap_create_thread_private(struct ap_threadkey_t **key,
  +ap_status_t ap_create_thread_private(ap_threadkey_t **key,
                                        void (*dest)(void *), ap_context_t *cont)
   {
   	(*key)->key = TlsAlloc();
   	return APR_SUCCESS;
   }
   
  -ap_status_t ap_get_thread_private(void **new, struct ap_threadkey_t *key)
  +ap_status_t ap_get_thread_private(void **new, ap_threadkey_t *key)
   {
       if ((*new) = TlsGetValue(key->key)) {
           return APR_SUCCESS;
  @@ -74,7 +74,7 @@
       return APR_EEXIST;
   }
   
  -ap_status_t ap_set_thread_private(void *priv, struct ap_threadkey_t *key)
  +ap_status_t ap_set_thread_private(void *priv, ap_threadkey_t *key)
   {
       if (TlsSetValue(key->key, priv)) {
           return APR_SUCCESS;
  @@ -82,7 +82,7 @@
       return APR_EEXIST;
   }
   
  -ap_status_t ap_delete_thread_private(struct ap_threadkey_t *key)
  +ap_status_t ap_delete_thread_private(ap_threadkey_t *key)
   {
       if (TlsFree(key->key)) {
           return APR_SUCCESS; 
  @@ -90,7 +90,7 @@
       return APR_EEXIST;
   }
   
  -ap_status_t ap_get_threadkeydata(void **data, char *key, struct ap_threadkey_t *threadkey)
  +ap_status_t ap_get_threadkeydata(void **data, char *key, ap_threadkey_t *threadkey)
   {
       if (threadkey != NULL) {
           return ap_get_userdata(data, key, threadkey->cntxt);
  @@ -102,7 +102,7 @@
   }
   
   ap_status_t ap_set_threadkeydata(void *data, char *key, ap_status_t (*cleanup) (void *), 
  -                                 struct ap_threadkey_t *threadkey)
  +                                 ap_threadkey_t *threadkey)
   {
       if (threadkey != NULL) {
           return ap_set_userdata(data, key, cleanup, threadkey->cntxt);
  @@ -113,7 +113,7 @@
       }
   }
   
  -ap_status_t ap_get_os_threadkey(ap_os_threadkey_t *thekey, struct ap_threadkey_t *key)
  +ap_status_t ap_get_os_threadkey(ap_os_threadkey_t *thekey, ap_threadkey_t *key)
   {
       if (key == NULL) {
           return APR_ENOFILE;
  @@ -122,14 +122,14 @@
       return APR_SUCCESS;
   }
   
  -ap_status_t ap_put_os_threadkey(struct ap_threadkey_t **key, 
  +ap_status_t ap_put_os_threadkey(ap_threadkey_t **key, 
                                   ap_os_threadkey_t *thekey, ap_context_t *cont)
   {
       if (cont == NULL) {
           return APR_ENOCONT;
       }
       if ((*key) == NULL) {
  -        (*key) = (struct ap_threadkey_t *)ap_palloc(cont, sizeof(struct ap_threadkey_t));
  +        (*key) = (ap_threadkey_t *)ap_palloc(cont, sizeof(ap_threadkey_t));
           (*key)->cntxt = cont;
       }
       (*key)->key = *thekey;
  
  
  

Mime
View raw message