mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* photoid.c: Include ttyio.h.
* parse-packet.c (skip_rest): Removed. Changed all callers to use the new iobuf_skip_reset. Orginal patch by Florian Weimer. * iobuf.c (iobuf_skip_rest): New. Orginal patch by Florian Weimer. Added new argument PARTIAL.
This commit is contained in:
parent
eda1b80760
commit
87e3264f77
7 changed files with 75 additions and 35 deletions
|
@ -26,7 +26,6 @@
|
|||
|
||||
#define DBG_IOBUF iobuf_debug_mode
|
||||
|
||||
|
||||
#define IOBUFCTRL_INIT 1
|
||||
#define IOBUFCTRL_FREE 2
|
||||
#define IOBUFCTRL_UNDERFLOW 3
|
||||
|
@ -155,4 +154,6 @@ int iobuf_translate_file_handle ( int fd, int for_write );
|
|||
#define iobuf_get_temp_length(a) ( (a)->d.len )
|
||||
#define iobuf_is_temp(a) ( (a)->use == 3 )
|
||||
|
||||
void iobuf_skip_rest (IOBUF a, unsigned long n, int partial);
|
||||
|
||||
#endif /*G10_IOBUF_H*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue