File: vsd_parse_chunks.h

package info (click to toggle)
vsdump 0.0.45-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, squeeze, stretch, wheezy
  • size: 632 kB
  • ctags: 98
  • sloc: ansic: 1,870; sh: 800; makefile: 96
file content (23 lines) | stat: -rw-r--r-- 630 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
int vsd_parse_chunk(GArray *chunk_strm, GByteArray* stream, char *dirname, FILE *fdraw, GHashTable *vaetbls, int *offset, int *num, int version, char **ext, guint *numofparts, guint *counter);

/* the stream is a garray made of the 'VsdChunk' structs */
typedef struct{
	guint8	type;
	gpointer data; /* garray of VsdChunkItem structs */
} VsdChunk;

typedef struct{
	char		**name;
	char		**formula;
	guint8	type;	/* type of value */
	gpointer value;
} VsdChunkItem;

typedef struct{
    guint32     type;
    guint32     ix;
    guint32     unkn1;
    guint32     len;
    guint16     unkn2;
    guint8      unkn3;
} VsdChunkHdr;