diff options
| author | nima <nima@abc39116-655e-4be6-ad55-d661dc543056> | 2008-07-03 15:59:08 +0000 |
|---|---|---|
| committer | nima <nima@abc39116-655e-4be6-ad55-d661dc543056> | 2008-07-03 15:59:08 +0000 |
| commit | 60eb9d480daa352d7af19ad67e410f384f0e9f74 (patch) | |
| tree | 7816a737b025fedbeb1866362d166d2fc16ebb84 /dmiopt.h | |
| parent | 831e6bd3e28b85a87f68917bb928b1f3ce7601ce (diff) | |
| download | python-dmidecode-60eb9d480daa352d7af19ad67e410f384f0e9f74.tar.gz python-dmidecode-60eb9d480daa352d7af19ad67e410f384f0e9f74.tar.xz python-dmidecode-60eb9d480daa352d7af19ad67e410f384f0e9f74.zip | |
Major changes have been implemented, alas, untested, in hope to move towards
a new version of dmi decode where rather than having data just printed to
screen in functions, data is passed around, and some data structure is
constructed, which is then used to construct the Python list/dicitonary
objects.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@10 abc39116-655e-4be6-ad55-d661dc543056
Diffstat (limited to 'dmiopt.h')
| -rw-r--r-- | dmiopt.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -24,7 +24,7 @@ struct string_keyword const char *keyword; u8 type; u8 offset; - const char *(*lookup)(u8); + const char *(*lookup)(u8, char *); void (*print)(u8 *); }; @@ -44,3 +44,4 @@ extern struct opt opt; int parse_command_line(int argc, char * const argv[]); void print_help(void); +u8 *parse_opt_type(u8 *p, const char *arg); |
