git://wimlib.net
/
wimlib
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Cleanup and add more comments
[wimlib]
/
include
/
wimlib
/
callback.h
1
#ifndef _WIMLIB_CALLBACK_H
2
#define _WIMLIB_CALLBACK_H
3
4
#include <stddef.h>
5
6
/* Callback for processing a chunk of data. Returns 0 on success, or an error
7
* code on failure. */
8
typedef int (*consume_data_callback_t)(const void *chunk, size_t size, void *ctx);
9
10
#endif