]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - misc.h
Move base64_decode_atom into misc.c.
[PuTTY.git] / misc.h
diff --git a/misc.h b/misc.h
index aa761999b7a396c7539643398911a363cd2a366d..306b4a1ec4cb299845852b21afcfa1deccb7eb2a 100644 (file)
--- a/misc.h
+++ b/misc.h
@@ -24,6 +24,11 @@ typedef struct FontSpec FontSpec;
 unsigned long parse_blocksize(const char *bs);
 char ctrlparse(char *s, char **next);
 
+size_t host_strcspn(const char *s, const char *set);
+char *host_strchr(const char *s, int c);
+char *host_strrchr(const char *s, int c);
+char *host_strduptrim(const char *s);
+
 char *dupstr(const char *s);
 char *dupcat(const char *s1, ...);
 char *dupprintf(const char *fmt, ...)
@@ -39,6 +44,7 @@ int toint(unsigned);
 char *fgetline(FILE *fp);
 
 void base64_encode_atom(unsigned char *data, int n, char *out);
+int base64_decode_atom(char *atom, unsigned char *out);
 
 struct bufchain_granule;
 typedef struct bufchain_tag {