2001-12-21 23:09:41 +00:00
|
|
|
/* Photo ID functions */
|
|
|
|
|
|
|
|
#ifndef _PHOTOID_H_
|
|
|
|
#define _PHOTOID_H_
|
|
|
|
|
|
|
|
#include "packet.h"
|
|
|
|
|
|
|
|
PKT_user_id *generate_photo_id(PKT_public_key *pk);
|
* photoid.h, photoid.c (parse_image_header, image_type_to_string): Useful
functions to return data about an image.
* packet.h, parse-packet.c (make_attribute_uidname,
parse_attribute_subpkts, parse_attribute), photoid.h, photoid.c
(show_photos): Handle multiple images in a single attribute packet.
* main.h, misc.c (pct_expando), sign.c (mk_notation_and_policy), photoid.c
(show_photos): Simpler expando code that does not require using
compile-time string sizes. Call image_type_to_string to get image strings
(i.e. "jpg", "image/jpeg"). Change all callers.
* keyedit.c (menu_showphoto), keylist.c (list_keyblock_print): Allow
viewing multiple images within a single attribute packet.
* gpgv.c: Various stubs for link happiness.
2002-05-02 20:47:23 +00:00
|
|
|
int parse_image_header(const struct user_attribute *attr,byte *type,u32 *len);
|
|
|
|
char *image_type_to_string(byte type,int style);
|
2002-06-03 12:39:23 +00:00
|
|
|
void show_photos(const struct user_attribute *attrs,
|
|
|
|
int count,PKT_public_key *pk,PKT_secret_key *sk);
|
2001-12-21 23:09:41 +00:00
|
|
|
|
|
|
|
#endif /* !_PHOTOID_H_ */
|