PPP, MPPE, exported MPPE functions

This commit is contained in:
Sylvain Rochet
2015-03-29 12:18:50 +02:00
parent 52b7ebd4e7
commit 7285459375
2 changed files with 23 additions and 9 deletions

View File

@@ -126,5 +126,19 @@
opts |= MPPE_OPT_UNKNOWN; \
} while (/* CONSTCOND */ 0)
void *mppe_alloc(unsigned char *options, int optlen);
void mppe_free(void *arg);
int mppe_comp_init(void *arg, unsigned char *options, int optlen, int unit,
int hdrlen, int debug);
void mppe_comp_reset(void *arg);
int mppe_compress(void *arg, unsigned char *ibuf, unsigned char *obuf,
int isize, int osize);
int mppe_decomp_init(void *arg, unsigned char *options, int optlen, int unit,
int hdrlen, int mru, int debug);
void mppe_decomp_reset(void *arg);
int mppe_decompress(void *arg, unsigned char *ibuf, int isize, unsigned char *obuf,
int osize);
void mppe_incomp(void *arg, unsigned char *ibuf, int icnt);
#endif /* MPPE_H */
#endif /* PPP_SUPPORT && MPPE_SUPPORT */