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_COTHREADS; |
---|
50 | extern GstDebugCategory *GST_CAT_COTHREAD_SWITCH; |
---|
51 | extern GstDebugCategory *GST_CAT_AUTOPLUG; |
---|
52 | extern GstDebugCategory *GST_CAT_AUTOPLUG_ATTEMPT; |
---|
53 | extern GstDebugCategory *GST_CAT_PARENTAGE; |
---|
54 | extern GstDebugCategory *GST_CAT_STATES; |
---|
55 | extern GstDebugCategory *GST_CAT_PLANNING; |
---|
56 | extern GstDebugCategory *GST_CAT_SCHEDULING; |
---|
57 | extern GstDebugCategory *GST_CAT_BUFFER; |
---|
58 | extern GstDebugCategory *GST_CAT_CAPS; |
---|
59 | extern GstDebugCategory *GST_CAT_CLOCK; |
---|
60 | extern GstDebugCategory *GST_CAT_ELEMENT_PADS; |
---|
61 | extern GstDebugCategory *GST_CAT_PADS; |
---|
62 | extern GstDebugCategory *GST_CAT_PIPELINE; |
---|
63 | extern GstDebugCategory *GST_CAT_PLUGIN_LOADING; |
---|
64 | extern GstDebugCategory *GST_CAT_PLUGIN_INFO; |
---|
65 | extern GstDebugCategory *GST_CAT_PROPERTIES; |
---|
66 | extern GstDebugCategory *GST_CAT_THREAD; |
---|
67 | extern GstDebugCategory *GST_CAT_XML; |
---|
68 | extern GstDebugCategory *GST_CAT_NEGOTIATION; |
---|
69 | extern GstDebugCategory *GST_CAT_REFCOUNTING; |
---|
70 | extern GstDebugCategory *GST_CAT_ERROR_SYSTEM; |
---|
71 | extern GstDebugCategory *GST_CAT_EVENT; |
---|
72 | extern GstDebugCategory *GST_CAT_PARAMS; |
---|
73 | extern GstDebugCategory *GST_CAT_CALL_TRACE; |
---|
74 | extern GstDebugCategory *GST_CAT_SIGNAL; |
---|
75 | extern 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__ */ |
---|