summaryrefslogtreecommitdiffstats
path: root/src/core/settings.c
Commit message (Collapse)AuthorAgeFilesLines
* Use stdio.h instead of vsprintf.hMichael Brown2007-01-191-1/+1
|
* Having forced __table() to natural structure alignment, it now seemsMichael Brown2007-01-101-41/+43
| | | | | | that we *can* place arrays in tables, which means we can force the order within a table without having to resort to explicitly numbered sections on everything.
* Add "name" field to struct device to allow human-readable hardware deviceMichael Brown2007-01-101-8/+8
| | | | | | | | | | | names. Add "dev" pointer in struct net_device to tie network interfaces back to a hardware device. Force natural alignment of data types in __table() macros. This seems to prevent gcc from taking the unilateral decision to occasionally increase their alignment (which screws up the table packing).
* Add iSCSI initiator IQN as a settingMichael Brown2006-12-211-0/+6
|
* 8-bit integers are 1 byte long, not 8...Michael Brown2006-12-201-1/+1
|
* Added descriptive text for settings and setting types, and display it inMichael Brown2006-12-201-2/+12
| | | | the option config UI.
* Move {show,set,clear}_setting() to {show,set,clear}_named_setting().Michael Brown2006-12-201-22/+18Star
| | | | | | | | Introduce new {show,set,clear}_setting() that take a struct setting * rather than a const char *. set_setting() handles calling clear_setting() when appropriate, so that individual setting types don't have to check for empty strings.
* Use -ENOSPC rather than -ENOMEM, to distinguish the cases "generic out ofMichael Brown2006-12-201-5/+5
| | | | memory" and "no space left for DHCP options"
* Added clear_setting()Michael Brown2006-12-121-2/+25
|
* Added "priority" and "root-path" optionsMichael Brown2006-12-081-2/+94
|
* inet_aton() has a non-traditional return valueMichael Brown2006-12-061-1/+1
|
* Tied NVO commands into the human-interactable settings code that IMichael Brown2006-12-051-37/+25Star
| | | | completely forgot I'd written ages ago.
* Added cmdl_show proof-of-conceptMichael Brown2006-08-111-0/+20
|
* Added "hostname" and "ip" as sample settingsMichael Brown2006-08-111-0/+13
|
* Added ipv4 configuration typeMichael Brown2006-08-111-0/+56
|
* Add string configuration typeMichael Brown2006-08-111-5/+54
|
* Added basic infrastructure for manipulating settings.Michael Brown2006-08-111-0/+148