dgaudet     98/05/28 12:57:12

  Modified:    src/include httpd.h
               src/main util.c
  Log:
  poolfile_t is a private implementation detail, don't put it in a public
  structure.
  
  Revision  Changes    Path
  1.217     +0 -6      apache-1.3/src/include/httpd.h
  
  Index: httpd.h
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/include/httpd.h,v
  retrieving revision 1.216
  retrieving revision 1.217
  diff -u -r1.216 -r1.217
  --- httpd.h   1998/05/28 11:32:43     1.216
  +++ httpd.h   1998/05/28 19:57:07     1.217
  @@ -907,12 +907,6 @@
       unsigned line_number;    /* current line number, starting at 1 */
   } configfile_t;
   
  -/* Common structure that holds the file and pool for ap_pcfg_openfile */
  -typedef struct {
  -    struct pool *pool;
  -    FILE *file;
  -} poolfile_t;
  -
   /* Open a configfile_t as FILE, return open configfile_t struct pointer */
   API_EXPORT(configfile_t *) ap_pcfg_openfile(pool *p, const char *name);
   
  
  
  
  1.117     +6 -0      apache-1.3/src/main/util.c
  
  Index: util.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/main/util.c,v
  retrieving revision 1.116
  retrieving revision 1.117
  diff -u -r1.116 -r1.117
  --- util.c    1998/05/27 14:01:35     1.116
  +++ util.c    1998/05/28 19:57:11     1.117
  @@ -706,6 +706,12 @@
       return (cfp->close == NULL) ? 0 : cfp->close(cfp->param);
   }
   
  +/* Common structure that holds the file and pool for ap_pcfg_openfile */
  +typedef struct {
  +    struct pool *pool;
  +    FILE *file;
  +} poolfile_t;
  +
   static int cfg_close(void *param)
   {
       poolfile_t *cfp = (poolfile_t *) param;
  
  
  

Reply via email to