aboutsummaryrefslogtreecommitdiffstats
path: root/keyserver/ksutil.h
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2005-03-22 23:41:08 +0000
committerDavid Shaw <[email protected]>2005-03-22 23:41:08 +0000
commit1517f0e945d98966316219fb5601c6a8cce69a84 (patch)
treed4e583f62c10fce8e021228d56f30426871499c0 /keyserver/ksutil.h
parent* gpgv.c: Stubs for tty_enable_completion() & tty_disable_completion(). (diff)
downloadgnupg-1517f0e945d98966316219fb5601c6a8cce69a84.tar.gz
gnupg-1517f0e945d98966316219fb5601c6a8cce69a84.zip
* gpgkeys_ldap.c, ksutil.h, ksutil.c (print_nocr): Moved from
gpgkeys_ldap.c. Print a string, but strip out any CRs. * gpgkeys_finger.c (get_key), gpgkeys_hkp.c (get_key), gpgkeys_http.c (get_key): Use it here when outputting key material to canonicalize line endings.
Diffstat (limited to 'keyserver/ksutil.h')
-rw-r--r--keyserver/ksutil.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/keyserver/ksutil.h b/keyserver/ksutil.h
index 400dc1789..120e15dc2 100644
--- a/keyserver/ksutil.h
+++ b/keyserver/ksutil.h
@@ -87,5 +87,6 @@ struct ks_options *init_ks_options(void);
void free_ks_options(struct ks_options *opt);
int parse_ks_options(char *line,struct ks_options *opt);
const char *ks_action_to_string(enum ks_action action);
+void print_nocr(FILE *stream,const char *str);
#endif /* !_KSUTIL_H_ */