Addons updated to new doc format
[io.git] / addons / Fnmatch / source / IoFnmatch.h
blobaf0390b42e9e003dea48b9faccd2021a153571d1
2 #ifndef IOFNMATCH_DEFINED
3 #define IOFNMATCH_DEFINED 1
5 #include "IoObject.h"
6 #include "IoSeq.h"
8 #define ISFnmatch(self) IoObject_hasCloneFunc_(self, (IoTagCloneFunc *)IoFnmatch_rawClone)
10 typedef IoObject IoFnmatch;
12 typedef struct
14 IoSymbol *pattern;
15 IoSymbol *string;
16 int flags;
17 } IoFnmatchData;
19 IoFnmatch *IoFnmatch_rawClone(IoFnmatch *self);
20 IoFnmatch *IoFnmatch_proto(void *state);
21 IoFnmatch *IoFnmatch_new(void *state);
22 void IoFnmatch_free(IoFnmatch *self);
23 void IoFnmatch_mark(IoFnmatch *self);
25 /* ----------------------------------------------------------- */
26 IoObject *IoFnmatch_string(IoFnmatch *self, IoObject *locals, IoMessage *m);
27 IoObject *IoFnmatch_setString(IoFnmatch *self, IoObject *locals, IoMessage *m);
29 IoObject *IoFnmatch_pattern(IoFnmatch *self, IoObject *locals, IoMessage *m);
30 IoObject *IoFnmatch_setPattern(IoFnmatch *self, IoObject *locals, IoMessage *m);
32 IoObject *IoFnmatch_hasMatch(IoFnmatch *self, IoObject *locals, IoMessage *m);
33 IoObject *IoFnmatch_matchFor(IoFnmatch *self, IoObject *locals, IoMessage *m);
35 IoObject *IoFnmatch_noEscapeOn(IoFnmatch *self, IoObject *locals, IoMessage *m);
36 IoObject *IoFnmatch_noEscapeOff(IoFnmatch *self, IoObject *locals, IoMessage *m);
38 IoObject *IoFnmatch_pathNameOn(IoFnmatch *self, IoObject *locals, IoMessage *m);
39 IoObject *IoFnmatch_pathNameOff(IoFnmatch *self, IoObject *locals, IoMessage *m);
41 IoObject *IoFnmatch_periodOn(IoFnmatch *self, IoObject *locals, IoMessage *m);
42 IoObject *IoFnmatch_periodOff(IoFnmatch *self, IoObject *locals, IoMessage *m);
44 IoObject *IoFnmatch_leadingDirOn(IoFnmatch *self, IoObject *locals, IoMessage *m);
45 IoObject *IoFnmatch_leadingDirOff(IoFnmatch *self, IoObject *locals, IoMessage *m);
47 IoObject *IoFnmatch_caseFoldOn(IoFnmatch *self, IoObject *locals, IoMessage *m);
48 IoObject *IoFnmatch_caseFoldOff(IoFnmatch *self, IoObject *locals, IoMessage *m);
52 #endif