File: srl_buffer_types.h

package info (click to toggle)
libsereal-encoder-perl 5.004%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,384 kB
  • sloc: ansic: 12,087; perl: 6,049; sh: 25; makefile: 9
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