mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
common: New function decode_c_string.
* common/miscellaneous.c (decode_c_string): New. -- This is basically a copy from the code we use in gpgme and gpa. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
dee0138dc0
commit
6ecedd0b25
2 changed files with 77 additions and 0 deletions
|
@ -303,6 +303,7 @@ void print_hexstring (FILE *fp, const void *buffer, size_t length,
|
|||
int reserved);
|
||||
char *try_make_printable_string (const void *p, size_t n, int delim);
|
||||
char *make_printable_string (const void *p, size_t n, int delim);
|
||||
char *decode_c_string (const char *src);
|
||||
|
||||
int is_file_compressed (const char *s, int *ret_rc);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue