| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
#if !defined(_HPEC_H) |
| 23 |
#define _HPEC_H |
| 24 |
|
| 25 |
struct hpec_state; |
| 26 |
|
| 27 |
void __attribute__((regparm(0))) hpec_init(int __attribute__((regparm(0), format(printf, 1, 2))) (*logger)(const char *format, ...), |
| 28 |
unsigned int debug, |
| 29 |
unsigned int chunk_size, |
| 30 |
void * (*memalloc)(size_t len), |
| 31 |
void (*memfree)(void *ptr)); |
| 32 |
|
| 33 |
void __attribute__((regparm(0))) hpec_shutdown(void); |
| 34 |
|
| 35 |
int __attribute__((regparm(0))) hpec_license_challenge(struct hpec_challenge *challenge); |
| 36 |
|
| 37 |
int __attribute__((regparm(0))) hpec_license_check(struct hpec_license *license); |
| 38 |
|
| 39 |
struct hpec_state __attribute__((regparm(0))) *hpec_channel_alloc(unsigned int len); |
| 40 |
|
| 41 |
void __attribute__((regparm(0))) hpec_channel_free(struct hpec_state *channel); |
| 42 |
|
| 43 |
void __attribute__((regparm(0))) hpec_channel_update(struct hpec_state *channel, short *isig, const short *iref); |
| 44 |
|
| 45 |
#endif |
| 46 |
|