summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--API-C.md5
-rw-r--r--src/c/include/unit/unit-wasm.h5
2 files changed, 6 insertions, 4 deletions
diff --git a/API-C.md b/API-C.md
index b79ef23..d26df8c 100644
--- a/API-C.md
+++ b/API-C.md
@@ -117,9 +117,10 @@ typedef enum {
LUW_SRB_APPEND = 0x01,
LUW_SRB_ALLOC = 0x02,
LUW_SRB_FULL_SIZE = 0x04,
+
+ LUW_SRB_FLAGS_ALL = (LUW_SRB_NONE|LUW_SRB_APPEND|LUW_SRB_ALLOC|
+ LUW_SRB_FULL_SIZE)
} luw_srb_flags_t;
-#define LUW_SRB_FLAGS_ALL \
- (LUW_SRB_NONE|LUW_SRB_APPEND|LUW_SRB_ALLOC|LUW_SRB_FULL_SIZE
```
## Structs
diff --git a/src/c/include/unit/unit-wasm.h b/src/c/include/unit/unit-wasm.h
index df3852a..94e5848 100644
--- a/src/c/include/unit/unit-wasm.h
+++ b/src/c/include/unit/unit-wasm.h
@@ -126,9 +126,10 @@ typedef enum {
LUW_SRB_APPEND = 0x01,
LUW_SRB_ALLOC = 0x02,
LUW_SRB_FULL_SIZE = 0x04,
+
+ LUW_SRB_FLAGS_ALL = (LUW_SRB_NONE|LUW_SRB_APPEND|LUW_SRB_ALLOC|
+ LUW_SRB_FULL_SIZE)
} luw_srb_flags_t;
-#define LUW_SRB_FLAGS_ALL \
- (LUW_SRB_NONE|LUW_SRB_APPEND|LUW_SRB_ALLOC|LUW_SRB_FULL_SIZE)
typedef struct luw_hdr_field luw_http_hdr_iter_t;