mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
* ksutil.h, gpgkeys_curl.c, gpgkeys_hkp.c, gpgkeys_ldap.c,
gpgkeys_finger.c, gpgkeys_http.c: Part 2 of the cleanup. Move all the various defines to ksutil.h.
This commit is contained in:
parent
0a42f97e43
commit
996c82ffd6
7 changed files with 51 additions and 99 deletions
|
@ -1,5 +1,5 @@
|
|||
/* gpgkeys_finger.c - fetch a key via finger
|
||||
* Copyright (C) 2004 Free Software Foundation, Inc.
|
||||
* Copyright (C) 2004, 2005 Free Software Foundation, Inc.
|
||||
*
|
||||
* This file is part of GnuPG.
|
||||
*
|
||||
|
@ -55,22 +55,10 @@
|
|||
extern char *optarg;
|
||||
extern int optind;
|
||||
|
||||
#define GET 0
|
||||
#define MAX_LINE 80
|
||||
#define MAX_COMMAND 7
|
||||
#define MAX_OPAQUE 1024
|
||||
#define MAX_OPTION 256
|
||||
|
||||
#define STRINGIFY(x) #x
|
||||
#define MKSTRING(x) STRINGIFY(x)
|
||||
|
||||
static int verbose=0;
|
||||
static char path[MAX_OPAQUE+1];
|
||||
static FILE *input, *output, *console;
|
||||
|
||||
#define BEGIN "-----BEGIN PGP PUBLIC KEY BLOCK-----"
|
||||
#define END "-----END PGP PUBLIC KEY BLOCK-----"
|
||||
|
||||
#ifdef _WIN32
|
||||
static void
|
||||
deinit_sockets (void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue