#define SLOTMEM_STORAGE "slotmem"
-typedef struct ap_slotmem ap_slotmem_t;
+typedef struct ap_slotmem_t ap_slotmem_t;
-struct ap_slotmem {
+struct ap_slotmem_t {
char *name; /* per segment name */
void *shm; /* ptr to memory segment (apr_shm_t *) */
void *base; /* data set start */
apr_pool_t *gpool; /* per segment global pool */
apr_global_mutex_t *smutex; /* mutex */
void *context; /* general purpose storage */
- struct ap_slotmem *next; /* location of next allocated segment */
+ struct ap_slotmem_t *next; /* location of next allocated segment */
};
#include "mod_slotmem.h"
/* global pool and list of slotmem we are handling */
-static struct ap_slotmem *globallistmem = NULL;
+static struct ap_slotmem_t *globallistmem = NULL;
static apr_pool_t *gpool = NULL;
static apr_status_t slotmem_do(ap_slotmem_t *mem, ap_slotmem_callback_fn_t *func, void *data, apr_pool_t *pool)
};
/* global pool and list of slotmem we are handling */
-static struct ap_slotmem *globallistmem = NULL;
+static struct ap_slotmem_t *globallistmem = NULL;
static apr_pool_t *gpool = NULL;
static apr_global_mutex_t *smutex;
static const char *mutex_fname;