change function definitions
Buffers are no longer wired into any input or translation functions. They are supplied as arguments through main.
This commit is contained in:
parent
9b1fe95a8e
commit
848c3749d2
5 changed files with 53 additions and 60 deletions
10
trans.h
10
trans.h
|
@ -1,12 +1,10 @@
|
|||
#ifndef HEADER_TRANS
|
||||
#define HEADER_TRANS
|
||||
|
||||
#include "input.h"
|
||||
int
|
||||
encode(unsigned char *op, int olen, unsigned char *sp);
|
||||
|
||||
unsigned char *
|
||||
encode(unsigned char *op, int np);
|
||||
|
||||
unsigned char *
|
||||
decode(unsigned char *sp, int *np);
|
||||
int
|
||||
decode(unsigned char *sp, int slen, unsigned char *op);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue