1 /* XXX: Coding Style - use the tool indent with the following (Linux kernel
4 * indent -nbad -bap -nbc -bbo -hnl -br -brs -c33 -cd33 -ncdb -ce -ci4 \
5 * -cli0 -d0 -di1 -nfc1 -i8 -ip0 -l120 -lp -npcs -nprs -npsl -sai \
6 * -saf -saw -ncs -nsc -sob -nfca -cp33 -ss -ts8 -il1
11 * High performance network sniffer for packet inspection
13 * Copyright (C) 2009, 2010 Daniel Borkmann <danborkmann@googlemail.com> and
14 * Emmanuel Roullit <emmanuel.roullit@googlemail.com>
16 * This program is free software; you can redistribute it and/or modify
17 * it under the terms of the GNU General Public License as published by
18 * the Free Software Foundation; either version 2 of the License, or (at
19 * your option) any later version.
21 * This program is distributed in the hope that it will be useful, but
22 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
23 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
26 * You should have received a copy of the GNU General Public License along
27 * with this program; if not, write to the Free Software Foundation, Inc.,
28 * 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
30 * Note: Your kernel has to be compiled with CONFIG_PACKET_MMAP=y option in
36 * A simple spinning command line cursor
44 extern volatile sig_atomic_t cursor_prog_intr
;
46 /* Function signatures */
48 extern void *print_progress_spinner_static(void *msg
);
49 extern void *print_progress_spinner_dynamic(void *msg
);
50 extern void print_progress_spinner_dynamic_trigger(void);
54 #define enable_print_progress_spinner() \
56 cursor_prog_intr = 0; \
59 #define disable_print_progress_spinner() \
61 cursor_prog_intr = 1; \
66 #endif /* _CURSOR_H_ */