Blame gst/printf/printf-extension.h

Packit a6ee4b
/* GStreamer printf extension hooks
Packit a6ee4b
 * Copyright (C) 2013 Tim-Philipp Müller <tim centricular net>
Packit a6ee4b
 *
Packit a6ee4b
 * This library is free software; you can redistribute it and/or
Packit a6ee4b
 * modify it under the terms of the GNU Library General Public
Packit a6ee4b
 * License as published by the Free Software Foundation; either
Packit a6ee4b
 * version 2 of the License, or (at your option) any later version.
Packit a6ee4b
 *
Packit a6ee4b
 * This library is distributed in the hope that it will be useful,
Packit a6ee4b
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit a6ee4b
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit a6ee4b
 * Library General Public License for more details.
Packit a6ee4b
 *
Packit a6ee4b
 * You should have received a copy of the GNU Library General Public
Packit a6ee4b
 * License along with this library; if not, write to the
Packit a6ee4b
 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
Packit a6ee4b
 * Boston, MA 02110-1301, USA.
Packit a6ee4b
 */
Packit a6ee4b
Packit a6ee4b
#ifndef __GST_PRINTF_EXTENSION_H_INCLUDED__
Packit a6ee4b
#define __GST_PRINTF_EXTENSION_H_INCLUDED__
Packit a6ee4b
Packit a6ee4b
typedef char * (*PrintfPointerExtensionFunc) (const char * format, void * ptr);
Packit a6ee4b
Packit a6ee4b
/* we only need one global function, since it's only GstInfo registering extensions */
Packit a6ee4b
void   __gst_printf_pointer_extension_set_func  (PrintfPointerExtensionFunc func);
Packit a6ee4b
Packit a6ee4b
/* functions for internal printf implementation to handle the extensions */
Packit a6ee4b
char * __gst_printf_pointer_extension_serialize (const char * format, void * ptr);
Packit a6ee4b
Packit a6ee4b
#endif /* __GST_PRINTF_EXTENSION_H_INCLUDED__ */