mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-24 22:16:11 +03:00
encoder: use explicit variable names in operation structure
This makes it obvious, what each variable stands for. Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
This commit is contained in:
parent
6b438e7517
commit
844a2798eb
@ -33,10 +33,12 @@
|
||||
|
||||
struct encoder {
|
||||
const char name[8];
|
||||
int (*encode) (char *, size_t *, const void *, size_t);
|
||||
int (*decode) (void *, size_t *, const char *, size_t);
|
||||
int (*encode)(char *dst, size_t *dstlen, const void *src, size_t srclen);
|
||||
int (*decode)(void *dst, size_t *dstlen, const char *src, size_t srclen);
|
||||
|
||||
int (*places_dots)(void);
|
||||
int (*eats_dots)(void);
|
||||
|
||||
int (*blocksize_raw)(void);
|
||||
int (*blocksize_encoded)(void);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user