File: seenserv.h

package info (click to toggle)
hybserv 1.9.2-4
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 2,848 kB
  • ctags: 1,854
  • sloc: ansic: 37,037; sh: 3,167; makefile: 337
file content (36 lines) | stat: -rw-r--r-- 630 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
 * seenserv.h
 * Copyright (C) 2000 demond
 *
 */

#ifndef INCLUDED_seenserv_h
#define INCLUDED_seenserv_h

#include "stdinc.h"
#include "config.h"

#ifdef SEENSERVICES

struct Seen
{
	struct Seen *prev, *next, *seen;
	int type;                /* 1 - QUIT, 2 - NICK */
	char nick[NICKLEN + 1];
	char *userhost, *msg;
	time_t time;
};

typedef struct Seen aSeen;

void es_process(char *, char *);
void es_add(char *, char *, char *, char *, time_t, int);
void ss_join(struct Channel *);
void ss_part(struct Channel *);

extern int seenc;
extern aSeen *seenp, *seenb;

#endif /* SEENSERVICES */

#endif /* INCLUDED_seenserv_h */