root/src/noit_console.h

Revision 37cf7d8f9e336376dc0ecdb1b80e4776721a950b, 0.6 kB (checked in by Theo Schlossnagle <jesus@omniti.com>, 6 years ago)

A 'simple' tokenizer to help us with the console

  • Property mode set to 100644
Line 
1 /*
2  * Copyright (c) 2007, OmniTI Computer Consulting, Inc.
3  * All rights reserved.
4  */
5
6 #ifndef _NOIT_CONSOLE_H
7 #define _NOIT_CONSOLE_H
8
9 #include "noit_defines.h"
10 #include "eventer/eventer.h"
11
12
13 struct __noit_console_closure;
14 typedef struct __noit_console_closure * noit_console_closure_t;
15
16 API_EXPORT(void) noit_console_init();
17
18 API_EXPORT(int)
19   noit_console_handler(eventer_t e, int mask, void *closure,
20                        struct timeval *now);
21
22
23 API_EXPORT(int)
24   nc_printf(noit_console_closure_t ncct, const char *fmt, ...);
25
26 API_EXPORT(int)
27   nc_vprintf(noit_console_closure_t ncct, const char *fmt, va_list arg);
28
29
30 #endif
Note: See TracBrowser for help on using the browser.