aboutsummaryrefslogtreecommitdiffstats
path: root/epan/uat_load.l
Commit message (Collapse)AuthorAgeFilesLines
* Add an additional "title" attribute for UAT fields; that's what'sGuy Harris2009-02-161-1/+1
| | | | | | displayed to the user. svn path=/trunk/; revision=27462
* luis.ontanon@gmail.com => luis@ontanon.orgLuis Ontanon2008-08-051-1/+1
| | | | svn path=/trunk/; revision=25937
* Move the file utility functions from wiretap to libwsutil so thatJeff Morriss2008-05-221-3/+3
| | | | | | | | | libwireshark (and the plugins using those functions) do not depend on wiretap on Windows. While doing that, rename the eth_* functions to ws_*. svn path=/trunk/; revision=25354
* Bug 2493: Fix (Part 3 of 3): Bill Meier2008-04-251-0/+6
| | | | | | | | To prevent Windows compiler errors when using flex 2.5.35. Ignore 'signed /unsigned mismatch' warnings svn path=/trunk/; revision=25174
* Bug 2493: Fix (Part 2): Bill Meier2008-04-251-5/+11
| | | | | | | | To prevent Windows compiler errors when using flex 2.5.35. Fixes "missing unistd.h" and yywrap "mismatched parameter" warnings [Upcoming Part 3: ignore 'signed /unsigned mismatch' errors] svn path=/trunk/; revision=25173
* get_datafile_path() and get_persconffile_path() return malloc'd memory,Jeff Morriss2008-02-261-0/+2
| | | | | | free it when we're done with the file name. svn path=/trunk/; revision=24477
* Extend the UAT and preferences code so that you can use the "-o" flagGerald Combs2008-02-151-0/+66
| | | | | | | | | | to override UAT entries from the command line, e.g. -o "uat:user_dlts:\"User 0 (DLT=147)\",\"http\",\"0\",\"\",\"0\",\"\"" Fix up white space. svn path=/trunk/; revision=24338
* Change more fopen() to eth_fopen() to finish fixing bug 1827:Jeff Morriss2007-10-161-27/+28
| | | | | | | | | http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1827 Update README.developer to tell developers not to use fopen() and friends directly. svn path=/trunk/; revision=23206
* Commit canges to uat_load.l, and initialize uat_t->loaded (not every system ↵Luis Ontanon2007-08-281-1/+1
| | | | | | zeroes-out on malloc). svn path=/trunk/; revision=22705
* Add a script as a front-end for Flex, to work around various problems,Guy Harris2007-08-041-0/+1
| | | | | | | | | | such as the fact that Flex strips all but the last component of the "-o" argument, and that it doesn't generate a header file to declare routines the generated lexical analyzer defines. Use that script when building lexical analyzers, and, for each lexical analyzer, include the generated header file in the generated analyzer. svn path=/trunk/; revision=22446
* Add comments to various %option items to explain what they're doing. Guy Harris2007-07-301-3/+19
| | | | | | | | | | | | | | | | | | | | | Move the %options to the beginning if they weren't already there, and put them in the same order in all files. Add "prefix=" options to .l files that don't already have them, so we don't have to pass a "-P" option. Add "never-interactive" and "noyywrap" options to our lexical analyzers, to remove extra isatty() checks and to eliminate the need for yywrap() from the Flex library. Get rid of %option nostdinit - that's the default. Add .l.c: rules to Makefile.am files, replacing the rules for specific .l files. Have those rules all check that $(LEX) is set. Update the address for the FSF. svn path=/trunk/; revision=22424
* increase line numbers on comments tooLuis Ontanon2007-07-171-2/+2
| | | | svn path=/trunk/; revision=22342
* Add some GCC warnings to the standard set, and add some others to theGuy Harris2007-04-231-3/+3
| | | | | | | | | | | | | | | --enable-extra-gcc-checks set. If we turn on -pedantic, try turning on -Wno-long-long as well, so that it's not *so* pedantic that it rejects the 64-bit integral data types that we explicitly require. Constify a bunch of stuff, and make some other changes, to get rid of warnings. Clean up some indentation. svn path=/trunk/; revision=21526
* Fix management of lstrings in uat code so that arbitrary chars (even '\0's) ↵Luis Ontanon2007-04-011-138/+2
| | | | | | | | | can be used inside. Fixes bug 1502 svn path=/trunk/; revision=21294
* remove remaining warnings in epan dir and set the "treat warning as error" ↵Ulf Lamping2007-03-251-1/+1
| | | | | | | | barrier (epan/dissectors still waiting for a cleanup) svn path=/trunk/; revision=21181
* Add ENUM and HEXBYTES modesLuis Ontanon2007-02-071-20/+47
| | | | svn path=/trunk/; revision=20733
* Move (Up/Down) & Save buttonsLuis Ontanon2007-02-041-0/+2
| | | | svn path=/trunk/; revision=20708
* the quoted_string regexp in uat_load() fails badly on "...\\", workarround ↵Luis Ontanon2007-02-041-1/+6
| | | | | | in uat_save() using \x5c and \x22 (hex for \ and ") svn path=/trunk/; revision=20706
* second iteration:Luis Ontanon2007-02-031-20/+23
| | | | | | | | | | | | * fields of an uat table now are passed using an array of uat_filed_t * field callbacks take two more userdata arguments * add some macros to define uat field callbacks. * uats can be registered as preferences for a specific protocol - the preference widget is a button that opens the uat's window * dfilter-macro => reflect changes to API svn path=/trunk/; revision=20695
* do not use yy_flex_realloc()Luis Ontanon2007-01-301-3/+1
| | | | svn path=/trunk/; revision=20616
* uat_load.l improve error reportingLuis Ontanon2007-01-291-14/+17
| | | | | | | Makefile.am add uat_load.l to distribution svn path=/trunk/; revision=20600
* now it is operational.Luis Ontanon2007-01-291-14/+93
| | | | svn path=/trunk/; revision=20595
* Although yet untested (but it compiles and is still unused) add UAT to the repo.Luis Ontanon2007-01-281-0/+284
UAT is an API to handle User Accessible Tables, an UAT is basically an array of arbitrary structs that has a file representation as a mean for mantaining things like: - the snmp_users_table - dfilter macros - ipsec/ssl key bindings - k12 configuration, - and many other table-like user modifiable preferences comming soon gtk's uat_window() and prefs_add_uat() uat.h is fairly doc[uo]m[m]?ented, a README with a simple example of how is to be used will be available as I write them svn path=/trunk/; revision=20586