1 | #include "EXTERN.h" |
1 | #include "EXTERN.h" |
2 | #include "perl.h" |
2 | #include "perl.h" |
3 | #include "XSUB.h" |
3 | #include "XSUB.h" |
4 | |
4 | |
5 | #include "uulib/fptools.h" |
5 | #include "uulib/fptools.h" |
6 | #include "uulib/uulib.h" |
6 | #include "uulib/uudeview.h" |
7 | #include "uulib/uuint.h" |
7 | #include "uulib/uuint.h" |
8 | |
8 | |
9 | static int |
9 | static int |
10 | not_here(char *s) |
10 | not_here(char *s) |
11 | { |
11 | { |
… | |
… | |
58 | if (strEQ(name, "OPT_SAVEPATH")) return UUOPT_SAVEPATH; |
58 | if (strEQ(name, "OPT_SAVEPATH")) return UUOPT_SAVEPATH; |
59 | if (strEQ(name, "OPT_TINYB64")) return UUOPT_TINYB64; |
59 | if (strEQ(name, "OPT_TINYB64")) return UUOPT_TINYB64; |
60 | if (strEQ(name, "OPT_USETEXT")) return UUOPT_USETEXT; |
60 | if (strEQ(name, "OPT_USETEXT")) return UUOPT_USETEXT; |
61 | if (strEQ(name, "OPT_VERBOSE")) return UUOPT_VERBOSE; |
61 | if (strEQ(name, "OPT_VERBOSE")) return UUOPT_VERBOSE; |
62 | if (strEQ(name, "OPT_VERSION")) return UUOPT_VERSION; |
62 | if (strEQ(name, "OPT_VERSION")) return UUOPT_VERSION; |
|
|
63 | if (strEQ(name, "OPT_REMOVE")) return UUOPT_REMOVE; |
|
|
64 | if (strEQ(name, "OPT_MOREMIME")) return UUOPT_MOREMIME; |
63 | case 'R': |
65 | case 'R': |
64 | if (strEQ(name, "RET_CANCEL")) return UURET_CANCEL; |
66 | if (strEQ(name, "RET_CANCEL")) return UURET_CANCEL; |
65 | if (strEQ(name, "RET_CONT")) return UURET_CONT; |
67 | if (strEQ(name, "RET_CONT")) return UURET_CONT; |
66 | if (strEQ(name, "RET_EXISTS")) return UURET_EXISTS; |
68 | if (strEQ(name, "RET_EXISTS")) return UURET_EXISTS; |
67 | if (strEQ(name, "RET_ILLVAL")) return UURET_ILLVAL; |
69 | if (strEQ(name, "RET_ILLVAL")) return UURET_ILLVAL; |