Lines Matching full:media

196 /** Retrieve the interface media information
211 /** Retrieve the name of a media type
212 * @param media The media to be named
213 * @return A pointer to the media type name, or NULL on failure
215 const char *ifconfig_media_get_type(ifmedia_t media);
217 /** Retrieve a media type by its name
218 * @param name The name of a media type
219 * @return The media type value, or INVALID_IFMEDIA on failure
223 /** Retrieve the name of a media subtype
224 * @param media The media subtype to be named
225 * @return A pointer to the media subtype name, or NULL on failure
227 const char *ifconfig_media_get_subtype(ifmedia_t media);
229 /** Retrieve a media subtype by its name
230 * @param media The top level media type whose subtype we want
231 * @param name The name of a media subtype
232 * @return The media subtype value, or INVALID_IFMEDIA on failure
234 ifmedia_t ifconfig_media_lookup_subtype(ifmedia_t media, const char *name);
236 /** Retrieve the name of a media mode
237 * @param media The media mode to be named
238 * @return A pointer to the media mode name, or NULL on failure
240 const char *ifconfig_media_get_mode(ifmedia_t media);
242 /** Retrieve a media mode by its name
243 * @param media The top level media type whose mode we want
244 * @param name The name of a media mode
245 * @return The media mode value, or INVALID_IFMEDIA on failure
247 ifmedia_t ifconfig_media_lookup_mode(ifmedia_t media, const char *name);
249 /** Retrieve an array of media options
250 * @param media The media for which to obtain the options
256 const char **ifconfig_media_get_options(ifmedia_t media);
258 /** Retrieve an array of media options by names
259 * @param media The top level media type whose options we want
262 * @return Pointer to an array of media options, one for each option named
264 * allocating the return array fails or EINVAL if media is not
265 * valid. A media option in the array will be INVALID_IFMEDIA
269 ifmedia_t *ifconfig_media_lookup_options(ifmedia_t media, const char **opts,