Home
last modified time | relevance | path

Searched refs:OMAILCMD (Results 1 – 16 of 16) sorted by relevance

/dports/games/nethack36-nox11/NetHack-NetHack-3.6.6_Released/include/
H A Dobj.h135 #define OMAILCMD(o) ((o)->oextra->omailcmd) macro
141 #define has_omailcmd(o) ((o)->oextra && OMAILCMD(o))
/dports/games/nethack36/NetHack-NetHack-3.6.6_Released/include/
H A Dobj.h135 #define OMAILCMD(o) ((o)->oextra->omailcmd) macro
141 #define has_omailcmd(o) ((o)->oextra && OMAILCMD(o))
/dports/games/xnethack/xNetHack-xnh6.1/include/
H A Dobj.h156 #define OMAILCMD(o) ((o)->oextra->omailcmd) macro
161 #define has_omailcmd(o) ((o)->oextra && OMAILCMD(o))
/dports/games/xnethack/xNetHack-xnh6.1/src/
H A Dsave.c716 buflen = OMAILCMD(otmp) ? (int) strlen(OMAILCMD(otmp)) + 1 : 0; in saveobj()
721 bwrite(nhfp->fd, (genericptr_t) OMAILCMD(otmp), buflen); in saveobj()
H A Dmkobj.c149 if (OMAILCMD(otmp)) in new_omailcmd()
151 OMAILCMD(otmp) = dupstr(response_cmd); in new_omailcmd()
157 if (otmp->oextra && OMAILCMD(otmp)) { in free_omailcmd()
158 free((genericptr_t) OMAILCMD(otmp)); in free_omailcmd()
159 OMAILCMD(otmp) = (char *) 0; in free_omailcmd()
379 new_omailcmd(obj2, OMAILCMD(obj1)); in copy_oextra()
H A Dmail.c754 cmd = OMAILCMD(otmp); in readmail()
H A Dinvent.c3735 : (!has_omailcmd(otmp) || strcmp(OMAILCMD(obj), OMAILCMD(otmp)) != 0)) in mergable()
H A Dcmd.c2571 if (OMAILCMD(otmp)) in size_obj()
2572 sz += (int) strlen(OMAILCMD(otmp)) + 1; in size_obj()
/dports/games/nethack36/NetHack-NetHack-3.6.6_Released/src/
H A Dmkobj.c189 if (OMAILCMD(otmp))
191 OMAILCMD(otmp) = dupstr(response_cmd);
198 if (otmp->oextra && OMAILCMD(otmp)) {
199 free((genericptr_t) OMAILCMD(otmp));
200 OMAILCMD(otmp) = (char *) 0;
417 new_omailcmd(obj2, OMAILCMD(obj1));
H A Dsave.c1025 buflen = OMAILCMD(otmp) ? (int) strlen(OMAILCMD(otmp)) + 1 : 0;
1028 bwrite(fd, (genericptr_t) OMAILCMD(otmp), buflen);
H A Dmail.c753 cmd = OMAILCMD(otmp);
H A Dcmd.c3877 if (OMAILCMD(otmp))
3878 sz += (int) strlen(OMAILCMD(otmp)) + 1;
/dports/games/nethack36-nox11/NetHack-NetHack-3.6.6_Released/src/
H A Dmkobj.c189 if (OMAILCMD(otmp))
191 OMAILCMD(otmp) = dupstr(response_cmd);
198 if (otmp->oextra && OMAILCMD(otmp)) {
199 free((genericptr_t) OMAILCMD(otmp));
200 OMAILCMD(otmp) = (char *) 0;
417 new_omailcmd(obj2, OMAILCMD(obj1));
H A Dsave.c1025 buflen = OMAILCMD(otmp) ? (int) strlen(OMAILCMD(otmp)) + 1 : 0;
1028 bwrite(fd, (genericptr_t) OMAILCMD(otmp), buflen);
H A Dmail.c753 cmd = OMAILCMD(otmp);
H A Dcmd.c3877 if (OMAILCMD(otmp))
3878 sz += (int) strlen(OMAILCMD(otmp)) + 1;