Groonga 3.0.9 Source Code Document
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ngx_shmem.h
Go to the documentation of this file.
1 
2 /*
3  * Copyright (C) Igor Sysoev
4  * Copyright (C) Nginx, Inc.
5  */
6 
7 
8 #ifndef _NGX_SHMEM_H_INCLUDED_
9 #define _NGX_SHMEM_H_INCLUDED_
10 
11 
12 #include <ngx_config.h>
13 #include <ngx_core.h>
14 
15 
16 typedef struct {
17  u_char *addr;
18  size_t size;
21  ngx_uint_t exists; /* unsigned exists:1; */
22 } ngx_shm_t;
23 
24 
26 void ngx_shm_free(ngx_shm_t *shm);
27 
28 
29 #endif /* _NGX_SHMEM_H_INCLUDED_ */