summaryrefslogtreecommitdiff
path: root/oui.h
blob: 564e4a1e5c77e750839ed028660b40452a40c7d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef OUI_H
#define OUI_H

extern const char *lookup_vendor(unsigned int id);
extern void dissector_init_oui(void);
extern void dissector_cleanup_oui(void);

static inline const char *lookup_vendor_str(unsigned int id)
{
	return lookup_vendor(id) ? : "Unknown";
}

#endif /* OUI_H */
tion>space:mode:
authorJiri Kosina <jkosina@suse.cz>2016-01-28 14:28:39 +0100
committerJiri Kosina <jkosina@suse.cz>2016-01-28 14:28:39 +0100
commitaf2e628d6be7a510e2667c3b5358350464d0f5b7 (patch)
tree26dbf0da195e61aa7911ffc04406b718b4b87d54 /Documentation/input
parentff21a635dd1a9c6ca378847160897649cdbbfae4 (diff)
HID: logitech-hidpp: limit visibility of init/deinit functions
hidpp_ff_init() and hidpp_ff_deinit() are not used outside of hid-logitech-hidpp.c, so let's make them static. Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'Documentation/input')