| 198 | | /* If set, the memory pointed to by 'buffer' is malloc()'d and libtrace should |
|---|
| 199 | | * undertake ownership of that memory. If not set, the memory is treated as |
|---|
| 200 | | * externally-owned and will not be freed by libtrace when the packet is |
|---|
| 201 | | * destroyed. */ |
|---|
| | 198 | enum { |
|---|
| | 199 | /* If set, the memory pointed to by 'buffer' is malloc()'d and |
|---|
| | 200 | * libtrace should undertake ownership of that memory. If not set, |
|---|
| | 201 | * the memory is treated as externally-owned and will not be freed by |
|---|
| | 202 | * libtrace when the packet is destroyed. */ |
|---|
| | 203 | TRACE_PREP_OWN_BUFFER =1, |
|---|
| | 204 | TRACE_PREP_DO_NOT_OWN_BUFFER =0 |
|---|
| | 205 | }; |
|---|
| | 206 | |
|---|