diff options
| author | Neal H. Walfield <[email protected]> | 2016-02-29 13:12:57 +0000 |
|---|---|---|
| committer | Neal H. Walfield <[email protected]> | 2016-03-02 19:36:13 +0000 |
| commit | 1a624586149f9e34206e5d5e1ba0b7d2b7004c80 (patch) | |
| tree | c5a502da46e68fe97aff4c902de6a5177027e9d6 /g10/packet.h | |
| parent | gpg: Refactor the printing of binary notations. (diff) | |
| download | gnupg-1a624586149f9e34206e5d5e1ba0b7d2b7004c80.tar.gz gnupg-1a624586149f9e34206e5d5e1ba0b7d2b7004c80.zip | |
gpg: Add a new function for creating binary notations.
* g10/build-packet.c (blob_to_notation): New function.
--
Signed-off-by: Neal H. Walfield <[email protected]>
Diffstat (limited to 'g10/packet.h')
| -rw-r--r-- | g10/packet.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/packet.h b/g10/packet.h index 1be9ec389..21c06d776 100644 --- a/g10/packet.h +++ b/g10/packet.h @@ -762,6 +762,8 @@ void build_attribute_subpkt(PKT_user_id *uid,byte type, const void *buf,u32 buflen, const void *header,u32 headerlen); struct notation *string_to_notation(const char *string,int is_utf8); +struct notation *blob_to_notation(const char *name, + const char *data, size_t len); struct notation *sig_to_notation(PKT_signature *sig); void free_notation(struct notation *notation); |
