/* * sprc_internal.h — shared between src/sprc.c and src/v2.c (not exported). */ #ifndef SPRC_INTERNAL_H #define SPRC_INTERNAL_H void set_err(int code); void warn(const char *fmt, ...); void warn_clear(void); void *xmalloc(size_t n); /* the v1.0.0 decode body (src/sprc.c) */ int decode_v0(const unsigned char *datagram, size_t len); #endif