gst/base/gstbasesink.c: Prepare for more accurate position reporting and query handling.
[platform/upstream/gstreamer.git] / gst / gst_private.h
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 */
33 extern const char             *g_log_domain_gstreamer;
34
35 #include <glib.h>
36
37 #include <stdlib.h>
38 #include <string.h>
39
40 gboolean __gst_in_valgrind (void);
41
42 /*** debugging categories *****************************************************/
43
44 #ifndef GST_DISABLE_GST_DEBUG
45
46 #include <gst/gstinfo.h>
47
48 extern GstDebugCategory *GST_CAT_GST_INIT;
49 extern GstDebugCategory *GST_CAT_AUTOPLUG;
50 extern GstDebugCategory *GST_CAT_AUTOPLUG_ATTEMPT;
51 extern GstDebugCategory *GST_CAT_PARENTAGE;
52 extern GstDebugCategory *GST_CAT_STATES;
53 extern GstDebugCategory *GST_CAT_SCHEDULING;
54 extern GstDebugCategory *GST_CAT_BUFFER;
55 extern GstDebugCategory *GST_CAT_CAPS;
56 extern GstDebugCategory *GST_CAT_CLOCK;
57 extern GstDebugCategory *GST_CAT_ELEMENT_PADS;
58 extern GstDebugCategory *GST_CAT_PADS;
59 extern GstDebugCategory *GST_CAT_PIPELINE;
60 extern GstDebugCategory *GST_CAT_PLUGIN_LOADING;
61 extern GstDebugCategory *GST_CAT_PLUGIN_INFO;
62 extern GstDebugCategory *GST_CAT_PROPERTIES;
63 extern GstDebugCategory *GST_CAT_THREAD;
64 extern GstDebugCategory *GST_CAT_XML;
65 extern GstDebugCategory *GST_CAT_NEGOTIATION;
66 extern GstDebugCategory *GST_CAT_REFCOUNTING;
67 extern GstDebugCategory *GST_CAT_ERROR_SYSTEM;
68 extern GstDebugCategory *GST_CAT_EVENT;
69 extern GstDebugCategory *GST_CAT_MESSAGE;
70 extern GstDebugCategory *GST_CAT_PARAMS;
71 extern GstDebugCategory *GST_CAT_CALL_TRACE;
72 extern GstDebugCategory *GST_CAT_SIGNAL;
73 extern GstDebugCategory *GST_CAT_PROBE;
74 extern GstDebugCategory *GST_CAT_REGISTRY;
75
76 #else
77
78 #define GST_CAT_GST_INIT         NULL
79 #define GST_CAT_AUTOPLUG         NULL
80 #define GST_CAT_AUTOPLUG_ATTEMPT NULL
81 #define GST_CAT_PARENTAGE        NULL
82 #define GST_CAT_STATES           NULL
83 #define GST_CAT_SCHEDULING       NULL
84 #define GST_CAT_DATAFLOW         NULL
85 #define GST_CAT_BUFFER           NULL
86 #define GST_CAT_CAPS             NULL
87 #define GST_CAT_CLOCK            NULL
88 #define GST_CAT_ELEMENT_PADS     NULL
89 #define GST_CAT_PADS             NULL
90 #define GST_CAT_PIPELINE         NULL
91 #define GST_CAT_PLUGIN_LOADING   NULL
92 #define GST_CAT_PLUGIN_INFO      NULL
93 #define GST_CAT_PROPERTIES       NULL
94 #define GST_CAT_THREAD           NULL
95 #define GST_CAT_XML              NULL
96 #define GST_CAT_NEGOTIATION      NULL
97 #define GST_CAT_REFCOUNTING      NULL
98 #define GST_CAT_ERROR_SYSTEM     NULL
99 #define GST_CAT_EVENT            NULL
100 #define GST_CAT_MESSAGE          NULL
101 #define GST_CAT_PARAMS           NULL
102 #define GST_CAT_CALL_TRACE       NULL
103 #define GST_CAT_SIGNAL           NULL
104 #define GST_CAT_PROBE            NULL
105 #define GST_CAT_REGISTRY         NULL
106
107 #endif
108
109 #endif /* __GST_PRIVATE_H__ */