aboutsummaryrefslogtreecommitdiffstats
path: root/abcprintd.h
blob: 65bede74454aff7eb2d93a6b2ecb3b1f16d8472e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef ABCPRINTD_H
#define ABCPRINTD_H

#include "compiler.h"

/* abcprint instance */
struct abcprint;

typedef size_t (*send_func)(void *, const void *, size_t);

extern struct abcprint *abcprint_init(send_func, void *);
extern void abcprint_reset(struct abcprint *);
extern void abcprint_recv(struct abcprint *, const void *, size_t);
extern const char *fileop_path, *lpr_command;
extern FILE *console_file;

#endif