summaryrefslogtreecommitdiff
path: root/sbin/dhclient/parse.c
AgeCommit message (Expand)Author
2019-07-22Cleanup/simplify parse_number():Kenneth R Westerback
2019-07-21Restructure parse_semi() so it resembles the other parse_*Kenneth R Westerback
2019-07-21Replace malloc()/memcpy() with strdup() in parse_string(). Nuke 'len' parameterKenneth R Westerback
2019-03-19Parsing error messages display only the first 80 characters of theKenneth R Westerback
2018-01-04parse_lease_time() is an unnecessary abstraction. Just useKenneth R Westerback
2018-01-04We only parse decimal numbers, so parse_decimal() -> parse_number() toKenneth R Westerback
2017-11-09Use lease 'epoch' (time lease was acquired) to calculate timers forKenneth R Westerback
2017-11-06Add format 't' to parse_decimal() for signed 64-bitKenneth R Westerback
2017-10-23Use same parse_warn() verbiage in parse_lease_time() as thatKenneth R Westerback
2017-10-19Nuke special case for '\n' in skip_to_semi() andKenneth R Westerback
2017-10-14Refactor parsing of hex sequences. Rename parse_X()Kenneth R Westerback
2017-10-12Make parse_string() toe the new line by returningKenneth R Westerback
2017-10-11Works better when both files in a diff areKenneth R Westerback
2017-10-11Tweak parse_date() again, this time to factorKenneth R Westerback
2017-10-11Tweak parse_decimal() and its invocations to emit aKenneth R Westerback
2017-10-10Tweak parse_boolean() to be more like its friends.Kenneth R Westerback
2017-10-10Tweak parse_cidr() to be more like its friends.Kenneth R Westerback
2017-10-09Tweak parse_lease_time() to emit a single message onKenneth R Westerback
2017-10-09Tweak parse_ip_addr() to emit a single message onKenneth R Westerback
2017-10-08Simply parse_date() by trusting strptime() more and omittingKenneth R Westerback
2017-09-17Oops. Missed a file.Kenneth R Westerback
2017-09-14Strive to rationalize fatal[x]() usage andKenneth R Westerback
2017-07-24Tweak some commentsKenneth R Westerback
2017-07-14Replace remaining "!var" expressions withKenneth R Westerback
2017-07-14Replace remaining "!<pointer>" expressions withKenneth R Westerback
2017-07-10Use a modern spacious idiom on all function local variableKenneth R Westerback
2017-07-09Be consistent. "return (e);" -> "return e;"Kenneth R Westerback
2017-07-09Some parsing code cleanup: add parse_boolean(); pass literal formatKenneth R Westerback
2017-07-08Always use uintNN_t instead of sometimes u_intNN_tKenneth R Westerback
2017-06-29Nuke undocumented long-deprecated and/or unsupported leaseKenneth R Westerback
2017-06-22Drop support for old (>4yr) timestamp formats in leasesKenneth R Westerback
2017-06-19Various KNF nits.Kenneth R Westerback
2017-06-10Nuke unused global warnings_occurred.Kenneth R Westerback
2017-04-09Seven casts, a couple of tweaks and CFLAGS+=-Wsign-compare for theKenneth R Westerback
2017-04-08Reduce the overburden of signed vs unsigned comparisons by sprinklingKenneth R Westerback
2017-04-03Change parse_string() to take an optional integer pointer that canKenneth R Westerback
2017-04-03Simplify read_string() to just read the characters between the '"'s.Kenneth R Westerback
2017-04-03Tweak parse_string() to not consume the ';'. Simplifies/shortensKenneth R Westerback
2017-04-03Tweak 'expecting' parse_warn() messages to be more consistent.Kenneth R Westerback
2017-04-02Change parse_string() warning from "filename must be a string" toKenneth R Westerback
2017-02-15Use new log.[ch] functions in parse_warn().Kenneth R Westerback
2017-02-12Switch from 'legacy' errwarn.c to standard daemon logging functions.Kenneth R Westerback
2017-02-11Move parse_warning() into parse.c to prepare to replace errwarn.cKenneth R Westerback
2016-02-06Eliminate #include inside *.h files and include only needed headers inKenneth R Westerback
2015-05-18Tweak parsing so that hostnames starting with 0-9 are accepted.Kenneth R Westerback
2014-05-05Zap trailing whitespace. Started by pointed comments from andre@.Kenneth R Westerback
2014-01-21Add parsing for options 121 (classless-static-routes) and 249Kenneth R Westerback
2014-01-19We don't have any (and I can't find elsewhere) signed 16 bit orKenneth R Westerback
2014-01-19Redo the parsing of numbers to improve the error messages andKenneth R Westerback
2014-01-19Rename parse_hardware_param() to parse_ethernet() to reflect whatKenneth R Westerback