dsniff
2.4b2
About: A collection of tools for network auditing Fossies Dox: dsniff-2.4b2.tar.gz ("inofficial" and yet experimental doxygen-generated source code documentation) 
|
Go to the documentation of this file. 13 #include <sys/types.h> 24 struct buf *
line, inbuf, outbuf;
31 while ((i =
buf_index(&inbuf,
"\n", 1)) != -1) {
35 if (i > 0 &&
line->base[i - 1] ==
'\r')
39 if (
buf_cmp(&inbuf,
";", 1) == 0) {
75 return (got_auth ?
buf_len(&outbuf) : 0);
int buf_putf(buf_t buf, const char *fmt,...)
void buf_init(buf_t buf, u_char *data, int len)
buf_t buf_tok(buf_t buf, void *sep, int len)
int buf_cmp(buf_t buf, void *ptr, int len)
int decode_irc(u_char *buf, int len, u_char *obuf, int olen)
int buf_index(buf_t buf, void *ptr, int len)