summaryrefslogtreecommitdiff
path: root/plat.h
blob: f001d708c2f7a061958080fee4fb0404575bccb6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef plat_h
#define plat_h

#include "error.h"

void print(const char* fmt, ...);
void print_err(const char* fmt, ...);
void print_war(const char* fmt, ...);
void pbreak(Error code);

typedef void (*Dir_Iter)(void* uptr, const char* path);
void iter_dir(const char* path, Dir_Iter fn, void* u);

#endif