16 lines
428 B
C
16 lines
428 B
C
#ifndef RECIPE_H_
|
|
#define RECIPE_H_
|
|
|
|
#include "pkg.h"
|
|
|
|
/* The largest recipe bundle, by the sum of its entries' sizes. */
|
|
#define GL_BUNDLE_MAX (16 * 1024 * 1024)
|
|
|
|
gl_recipe_status_t gl_recipe_read(const char *bundle, gl_recipe_t *out);
|
|
|
|
/* Set what gl_recipe_error returns (internal: pkg.c and recipe.c).
|
|
* Always returns false. */
|
|
bool gl_recipe_set_error(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
|
|
|
|
#endif
|