RetroArch
7zBuf.h
Go to the documentation of this file.
1 /* 7zBuf.h -- Byte Buffer
2 2009-02-07 : Igor Pavlov : Public domain */
3 
4 #ifndef __7Z_BUF_H
5 #define __7Z_BUF_H
6 
7 #include "7zTypes.h"
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 typedef struct
14 {
16  size_t size;
17 } CBuf;
18 
19 void Buf_Init(CBuf *p);
20 int Buf_Create(CBuf *p, size_t size, ISzAlloc *alloc);
21 void Buf_Free(CBuf *p, ISzAlloc *alloc);
22 
23 #ifdef __cplusplus
24 }
25 #endif
26 
27 #endif
Definition: 7zTypes.h:162
void Buf_Init(CBuf *p)
Definition: 7zBuf.c:9
uint8_t * data
Definition: 7zBuf.h:15
GLsizeiptr size
Definition: glext.h:6559
size_t size
Definition: 7zBuf.h:16
void Buf_Free(CBuf *p, ISzAlloc *alloc)
Definition: 7zBuf.c:32
GLfloat GLfloat p
Definition: glext.h:9809
unsigned char uint8_t
Definition: stdint.h:124
Definition: 7zBuf.h:13
int Buf_Create(CBuf *p, size_t size, ISzAlloc *alloc)
Definition: 7zBuf.c:15