File: decode.h

package info (click to toggle)
trn4 4.0-test77-19
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid
  • size: 4,016 kB
  • sloc: ansic: 48,332; sh: 6,795; tcl: 1,696; yacc: 662; perl: 108; makefile: 27
file content (35 lines) | stat: -rw-r--r-- 894 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* decode.h
 */
/* This software is copyrighted as detailed in the LICENSE file. */


EXT char* decode_filename INIT(NULL);

#define DECODE_DONE	 0
#define DECODE_START	 1
#define DECODE_INACTIVE  2
#define DECODE_SETLEN	 3
#define DECODE_ACTIVE	 4
#define DECODE_NEXT2LAST 5
#define DECODE_LAST	 6
#define DECODE_MAYBEDONE 7
#define DECODE_ERROR	 8

#ifdef MSDOS
#define GOODCHARS "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" \
                  "0123456789-_^#%"
#else
#define BADCHARS "!$&*()|\'\";<>[]{}?/`\\ \t"
#endif

typedef int (*DECODE_FUNC) _((FILE*,int));

/* DON'T EDIT BELOW THIS LINE OR YOUR CHANGES WILL BE LOST! */

void decode_init _((void));
char* decode_fix_fname _((char*));
char* decode_subject _((ART_NUM,int*,int*));
int decode_piece _((MIMECAP_ENTRY*,char*));
DECODE_FUNC decode_function _((int));
char* decode_mkdir _((char*));
void decode_rmdir _((char*));