File: srl_buffer_types.h

package info (click to toggle)
libsereal-encoder-perl 4.005%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,980 kB
  • sloc: ansic: 8,664; perl: 5,705; sh: 25; makefile: 5
file content (12 lines) | stat: -rw-r--r-- 466 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef SRL_BUFFER_TYPES_H_
#define SRL_BUFFER_TYPES_H_

typedef unsigned char srl_buffer_char;
typedef struct {
    srl_buffer_char *start;    /* ptr to "physical" start of output buffer */
    srl_buffer_char *end;      /* ptr to end of output buffer */
    srl_buffer_char *pos;      /* ptr to current position within output buffer */
    srl_buffer_char *body_pos; /* ptr to start of body within output buffer for protocol V2 encoding */
} srl_buffer_t;

#endif