forked from osmocom/wireshark
![Michael Mann](/assets/img/avatar_default.png)
All current uses of ws_find_media_type_parameter need wmem_packet_scope(), but there is no sense in limiting what other dissectors may want to do. Change-Id: I35b0dd2a024a0ae0a8345577dd92a1a21ddd2cc4 Reviewed-on: https://code.wireshark.org/review/26427 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann <mmann78@netscape.net>
35 lines
811 B
C
35 lines
811 B
C
/* media_params.h
|
|
* Routines for parsing media type parameters as per RFC 822 and RFC 2045
|
|
* Copyright 2004, Anders Broman.
|
|
* Copyright 2004, Olivier Biot.
|
|
*
|
|
* Refer to the AUTHORS file or the AUTHORS section in the man page
|
|
* for contacting the author(s) of this file.
|
|
*
|
|
* Wireshark - Network traffic analyzer
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
* Copyright 1998 Gerald Combs
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef __MEDIA_PARAMS_H__
|
|
#define __MEDIA_PARAMS_H__
|
|
|
|
#include <epan/wmem/wmem.h>
|
|
|
|
#include "ws_symbol_export.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif /* __cplusplus */
|
|
|
|
WS_DLL_PUBLIC char *
|
|
ws_find_media_type_parameter(wmem_allocator_t *scope, const char *parameters, const char *key);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif /* __cplusplus */
|
|
|
|
#endif /* media_params.h */
|