#include "common.h"
#include "vendors.h"
#include "endian.h"
#include "misc.h"
#include "override.h"
Data Structures | |
| struct | vendor |
Defines | |
| #define | GET_KEY(i) (vendor_map[(i)].code) |
| #define | FOUND(i) |
Functions | |
| RCSID ("$Id:vendors.c, v 1.14 2005/11/13 10:36:12 cbiere Exp $") | |
| gchar * | find_vendor (guint32 code) |
| Find vendor name, given vendor code. | |
| gboolean | is_vendor_known (union vendor_code code) |
| const gchar * | vendor_code_str (guint32 code) |
| Make up a printable version of the vendor code. | |
| const gchar * | lookup_vendor_name (union vendor_code code) |
| Return the "human readable" name associated with the 4-byte vendor code. | |
| void | vendor_init (void) |
| Initialize the vendor lookup. | |
Variables | |
| vendor | vendor_map [] |
|
|
Value: G_STMT_START { \
return vendor_map[(i)].name; \
/* NOTREACHED */ \
} G_STMT_END
|
|
|
|
|
|
Find vendor name, given vendor code.
|
|
|
|
|
|
Return the "human readable" name associated with the 4-byte vendor code. If we can't understand the code return NULL or if the 4-byte code consists only of printable characters, return the code as a string. |
|
||||||||||||
|
|
|
|
Make up a printable version of the vendor code.
|
|
|
Initialize the vendor lookup.
|
|
|
|
1.3.6