uchar
uchar otyp;
uchar owt;
uchar quan; /* use oextra for tmp gold objects */
uchar oc_weight;
static uchar dig_level;
void cutworm(struct monst *, xchar, xchar, uchar);
uchar trotyp;
cutworm(struct monst *mtmp, xchar x, xchar y, uchar weptyp)
if (match_class(c, uchar(*p)))
if (uchar(*(p - 2)) <= c && c <= uchar(*p))
} else if (uchar(*p) == c)
int c = uchar(*s);
return match_class(c, uchar(*(p + 1)));
return (uchar(*p) == c);
if (!matchbracketclass(uchar(previous),
matchbracketclass(uchar(*s),
s = match_capture(ms, s, uchar(*(p + 1)));
static void print_trans2(uchar *words,uchar *dat,uchar *buf,uchar *maxbuf)
uchar *data,*param;
uchar *f1=NULL,*f2=NULL;
fdata(param,f1?f1:(uchar*)"params ",param+pcnt);
fdata(data,f2?f2:(uchar*)"data ",data+dcnt);
static void print_browse(uchar *param,int paramlen,const uchar *data,int datalen)
const uchar *maxbuf = data + datalen;
const uchar *startbuf=NULL;
static void print_ipc(uchar *param,int paramlen,uchar *data,int datalen)
static void print_trans(uchar *words,uchar *data1,uchar *buf,uchar *maxbuf)
uchar *f1,*f2,*f3,*f4;
uchar *data,*param;
static void print_negprot(uchar *words,uchar *data,uchar *buf,uchar *maxbuf)
uchar *f1=NULL,*f2=NULL;
static void print_sesssetup(uchar *words,uchar *data,uchar *buf,uchar *maxbuf)
uchar *f1=NULL,*f2=NULL;
static void print_smb(const uchar *buf, const uchar *maxbuf)
const uchar *words, *data;
static void trans2_findfirst(uchar *param,uchar *data,int pcnt,int dcnt)
void nbt_tcp_print(const uchar *data,int length)
const uchar *maxbuf = data + length;
void nbt_udp137_print(const uchar *data, int length)
const uchar *maxbuf = data + length;
static void trans2_qfsinfo(uchar *param,uchar *data,int pcnt,int dcnt)
if ((uchar*)p < maxbuf) {
void nbt_udp138_print(const uchar *data, int length)
const uchar *maxbuf = data + length;
void netbeui_print(u_short control, const uchar *data, const uchar *maxbuf)
const uchar *data2 = data + len;
void ipx_netbios_print(const uchar *data, const uchar *maxbuf)
const uchar *fdata(const uchar *buf, const char *fmt, const uchar *maxbuf);
#ifndef uchar
static int name_interpret(const uchar *in,const uchar *maxbuf,char *out)
static const uchar *name_ptr(const uchar *buf,int ofs,const uchar *maxbuf)
const uchar *p;
uchar c;
static int name_extract(const uchar *buf,int ofs,const uchar *maxbuf,char *name)
const uchar *p = name_ptr(buf,ofs,maxbuf);
extern const uchar *startbuf;
static const uchar *fdata1(const uchar *buf, const char *fmt, const uchar *maxbuf)
const uchar *fdata(const uchar *buf, const char *fmt, const uchar *maxbuf)
const uchar *buf2;