File: trace.h

package info (click to toggle)
scrollz 2.2.3-2
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 8,392 kB
  • sloc: ansic: 79,473; tcl: 2,866; makefile: 703; sh: 508
file content (32 lines) | stat: -rw-r--r-- 880 bytes parent folder | download | duplicates (3)
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
/******************************************************************************
  ScrollZ tracing facility

  Copyright (C) Flier 2013
******************************************************************************/

#ifndef __trace_h_
# define __trace_h_

#define SZ_TRACE_SERVER    1<<0
#define SZ_TRACE_CONNECT   1<<1
#define SZ_TRACE_JOIN      1<<2
#define SZ_TRACE_PART      1<<3
#define SZ_TRACE_CHANNEL   1<<4
#define SZ_TRACE_IO        1<<5
#define SZ_TRACE_WHOWAS    1<<6
#define SZ_TRACE_NICK      1<<7
#define SZ_TRACE_WINDOW    1<<8

#define SZ_TRACE_ALL       0xffffffff

typedef struct {
    long value;
    char *area;
} TraceArea;

void TraceServerInfo _((int indent, int fullinfo));
void TraceChannelInfo _((int indent, ChannelList *channels));
void TraceNickListInfo _((int indent, NickList *nicks));
void TraceWindowInfo _((int indent, Window *window));

#endif