xref: /haiku/src/bin/network/ifconfig/MediaTypes.h (revision 54c34be74b853fc5db947339da33dfbb947ec6b2)
1 /*
2  * Copyright 2006-2015, Haiku, Inc. All Rights Reserved.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  *		Axel Dörfler, axeld@pinc-software.de
7  *		Oliver Tappe, zooey@hirschkaefer.de
8  *		Atis Elsts, the.kfx@gmail.com
9  */
10 #ifndef MEDIA_TYPES_H
11 #define MEDIA_TYPES_H
12 
13 
14 #include <stddef.h>
15 
16 
17 const char* get_media_type_name(size_t index);
18 const char* get_media_subtype_name(size_t typeIndex, size_t subIndex);
19 bool media_parse_subtype(const char* string, int media, int* type);
20 const char* media_type_to_string(int media);
21 
22 
23 #endif // MEDIA_TYPES_H
24