mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
common: Rename remaining symbols in ksba-io-support.
* common/ksba-io-support.c (gpgsm_reader_eof_seen): Rename to ... (gnupg_ksba_reader_eof_seen): this. Change all callers. (gpgsm_destroy_reader): Rename to ... (gnupg_ksba_destroy_reader): this. Change all callers. (gpgsm_finish_writer): Rename to ... (gnupg_ksba_finish_writer): this. Change all callers. (gpgsm_destroy_writer): Rename to ... (gnupg_ksba_destroy_writer): this. Change all callers. * common/ksba-io-support.c (struct base64_context_s): Rename to ... (gnupg_ksba_io_s): this. * common/ksba-io-support.h (base64_context_s): Ditto. (Base64Context): Rename this typedef to ... (gnupg_ksba_io_t): this. Change all users. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
28c31524be
commit
e1dfd86236
9 changed files with 57 additions and 51 deletions
|
@ -34,31 +34,31 @@
|
|||
* gnupg_ksba_create_writer. */
|
||||
#define GNUPG_KSBA_IO_PEM 1 /* X.509 PEM format. */
|
||||
#define GNUPG_KSBA_IO_BASE64 2 /* Plain Base64 format. */
|
||||
#define GNUPG_KSBA_IO_AUTODETECT 4 /* Try toautodeect the format. */
|
||||
#define GNUPG_KSBA_IO_AUTODETECT 4 /* Try to autodetect the format. */
|
||||
#define GNUPG_KSBA_IO_MULTIPEM 8 /* Allow more than one PEM chunk. */
|
||||
|
||||
|
||||
/* Context object. */
|
||||
typedef struct base64_context_s *Base64Context;
|
||||
typedef struct gnupg_ksba_io_s *gnupg_ksba_io_t;
|
||||
|
||||
|
||||
|
||||
gpg_error_t gnupg_ksba_create_reader (Base64Context *ctx,
|
||||
gpg_error_t gnupg_ksba_create_reader (gnupg_ksba_io_t *ctx,
|
||||
unsigned int flags,
|
||||
estream_t fp,
|
||||
ksba_reader_t *r_reader);
|
||||
|
||||
int gpgsm_reader_eof_seen (Base64Context ctx);
|
||||
void gpgsm_destroy_reader (Base64Context ctx);
|
||||
int gnupg_ksba_reader_eof_seen (gnupg_ksba_io_t ctx);
|
||||
void gnupg_ksba_destroy_reader (gnupg_ksba_io_t ctx);
|
||||
|
||||
gpg_error_t gnupg_ksba_create_writer (Base64Context *ctx,
|
||||
gpg_error_t gnupg_ksba_create_writer (gnupg_ksba_io_t *ctx,
|
||||
unsigned int flags,
|
||||
const char *pem_name,
|
||||
estream_t stream,
|
||||
ksba_writer_t *r_writer);
|
||||
|
||||
int gpgsm_finish_writer (Base64Context ctx);
|
||||
void gpgsm_destroy_writer (Base64Context ctx);
|
||||
gpg_error_t gnupg_ksba_finish_writer (gnupg_ksba_io_t ctx);
|
||||
void gnupg_ksba_destroy_writer (gnupg_ksba_io_t ctx);
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue