source: trunk/third/gstreamer/gst/gst_private.h @ 21448

Revision 21448, 3.7 KB checked in by ghudson, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r21447, which included commits to RCS files with non-trunk default branches.
Line 
1/* GStreamer
2 * Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
3 *                    2000 Wim Taymans <wtay@chello.be>
4 *
5 * gst_private.h: Private header for within libgst
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15 * Library General Public License for more details.
16 *
17 * You should have received a copy of the GNU Library General Public
18 * License along with this library; if not, write to the
19 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20 * Boston, MA 02111-1307, USA.
21 */
22
23
24#ifndef __GST_PRIVATE_H__
25#define __GST_PRIVATE_H__
26
27#ifdef HAVE_CONFIG_H
28#  include "config.h"
29#endif
30
31/* This needs to be before glib.h, since it might be used in inline
32 * functions */
33extern const char             *g_log_domain_gstreamer;
34
35#include <glib.h>
36
37#include <stdlib.h>
38#include <string.h>
39
40gboolean __gst_in_valgrind (void);
41
42/*** debugging categories *****************************************************/
43
44#ifndef GST_DISABLE_GST_DEBUG
45
46#include <gst/gstinfo.h>
47
48extern GstDebugCategory *GST_CAT_GST_INIT;
49extern GstDebugCategory *GST_CAT_COTHREADS;
50extern GstDebugCategory *GST_CAT_COTHREAD_SWITCH;
51extern GstDebugCategory *GST_CAT_AUTOPLUG;
52extern GstDebugCategory *GST_CAT_AUTOPLUG_ATTEMPT;
53extern GstDebugCategory *GST_CAT_PARENTAGE;
54extern GstDebugCategory *GST_CAT_STATES;
55extern GstDebugCategory *GST_CAT_PLANNING;
56extern GstDebugCategory *GST_CAT_SCHEDULING;
57extern GstDebugCategory *GST_CAT_BUFFER;
58extern GstDebugCategory *GST_CAT_CAPS;
59extern GstDebugCategory *GST_CAT_CLOCK;
60extern GstDebugCategory *GST_CAT_ELEMENT_PADS;
61extern GstDebugCategory *GST_CAT_PADS;
62extern GstDebugCategory *GST_CAT_PIPELINE;
63extern GstDebugCategory *GST_CAT_PLUGIN_LOADING;
64extern GstDebugCategory *GST_CAT_PLUGIN_INFO;
65extern GstDebugCategory *GST_CAT_PROPERTIES;
66extern GstDebugCategory *GST_CAT_THREAD;
67extern GstDebugCategory *GST_CAT_XML;
68extern GstDebugCategory *GST_CAT_NEGOTIATION;
69extern GstDebugCategory *GST_CAT_REFCOUNTING;
70extern GstDebugCategory *GST_CAT_ERROR_SYSTEM;
71extern GstDebugCategory *GST_CAT_EVENT;
72extern GstDebugCategory *GST_CAT_PARAMS;
73extern GstDebugCategory *GST_CAT_CALL_TRACE;
74extern GstDebugCategory *GST_CAT_SIGNAL;
75extern GstDebugCategory *GST_CAT_PROBE;
76
77#else
78
79#define GST_CAT_GST_INIT         NULL
80#define GST_CAT_COTHREADS        NULL
81#define GST_CAT_COTHREAD_SWITCH  NULL
82#define GST_CAT_AUTOPLUG         NULL
83#define GST_CAT_AUTOPLUG_ATTEMPT NULL
84#define GST_CAT_PARENTAGE        NULL
85#define GST_CAT_STATES           NULL
86#define GST_CAT_PLANNING         NULL
87#define GST_CAT_SCHEDULING       NULL
88#define GST_CAT_DATAFLOW         NULL
89#define GST_CAT_BUFFER           NULL
90#define GST_CAT_CAPS             NULL
91#define GST_CAT_CLOCK            NULL
92#define GST_CAT_ELEMENT_PADS     NULL
93#define GST_CAT_PADS             NULL
94#define GST_CAT_PIPELINE         NULL
95#define GST_CAT_PLUGIN_LOADING   NULL
96#define GST_CAT_PLUGIN_INFO      NULL
97#define GST_CAT_PROPERTIES       NULL
98#define GST_CAT_THREAD           NULL
99#define GST_CAT_XML              NULL
100#define GST_CAT_NEGOTIATION      NULL
101#define GST_CAT_REFCOUNTING      NULL
102#define GST_CAT_ERROR_SYSTEM     NULL
103#define GST_CAT_EVENT            NULL
104#define GST_CAT_PARAMS           NULL
105#define GST_CAT_CALL_TRACE       NULL
106#define GST_CAT_SIGNAL           NULL
107#define GST_CAT_PROBE            NULL
108
109#endif
110
111#endif /* __GST_PRIVATE_H__ */
Note: See TracBrowser for help on using the repository browser.