Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 48 lines (41 sloc) 1.498 kb
188bc211 »
2011-01-02 copyright 2011
1 /* Copyright (c) 2010-2011 Dave Reisner
1aaec0f0 »
2010-05-15 Add GPL license header
2 *
1b6e92a0 »
2010-08-29 relicense as MIT/X
3 * conf.h
1aaec0f0 »
2010-05-15 Add GPL license header
4 *
1b6e92a0 »
2010-08-29 relicense as MIT/X
5 * Permission is hereby granted, free of charge, to any person
6 * obtaining a copy of this software and associated documentation
7 * files (the "Software"), to deal in the Software without
8 * restriction, including without limitation the rights to use,
9 * copy, modify, merge, publish, distribute, sublicense, and/or sell
10 * copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following
12 * conditions:
1aaec0f0 »
2010-05-15 Add GPL license header
13 *
1b6e92a0 »
2010-08-29 relicense as MIT/X
14 * The above copyright notice and this permission notice shall be
15 * included in all copies or substantial portions of the Software.
16 *
17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
19 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
20 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
21 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
22 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
23 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
24 * OTHER DEALINGS IN THE SOFTWARE.
1aaec0f0 »
2010-05-15 Add GPL license header
25 */
26
7f07bca4 »
2010-05-15 Initial re-commit: reorganize code into multiple source files with he…
27 #ifndef _BURP_CONF_H
28 #define _BURP_CONF_H
29
30 #define COOKIEFILE_FORMAT "/tmp/burp-%d.cookies"
31
88d54f47 »
2010-12-25 typedef struct definitions
32 typedef struct __config_t {
7f07bca4 »
2010-05-15 Initial re-commit: reorganize code into multiple source files with he…
33 char *user;
34 char *password;
35 char *cookies;
36 char *category;
c065fa52 »
2010-05-15 conf: store category number as an int -- only convert it to a string …
37 int catnum;
1457e0a7 »
2010-05-16 conf: Add config file parsing and option for persistent cookies
38 int persist;
7f07bca4 »
2010-05-15 Initial re-commit: reorganize code into multiple source files with he…
39 int verbose;
88d54f47 »
2010-12-25 typedef struct definitions
40 } config_t;
7f07bca4 »
2010-05-15 Initial re-commit: reorganize code into multiple source files with he…
41
88d54f47 »
2010-12-25 typedef struct definitions
42 config_t *config_new(void);
43 void config_free(config_t*);
7f07bca4 »
2010-05-15 Initial re-commit: reorganize code into multiple source files with he…
44
88d54f47 »
2010-12-25 typedef struct definitions
45 extern config_t *config;
7f07bca4 »
2010-05-15 Initial re-commit: reorganize code into multiple source files with he…
46
47 #endif /* _BURP_CONF_H */
Something went wrong with that request. Please try again.