Debian Codegraph @

libs/gst/check/gstconsistencychecker.h

raw
1 /* GStreamer
2 *
3 * unit testing helper lib
4 *
5 * Copyright (C) 2009 Edward Hervey <[email protected]>
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., 51 Franklin St, Fifth Floor,
20 * Boston, MA 02110-1301, USA.
21 */
22
23 #ifndef __GST_CONSISTENCY_CHECKER_H__
24 #define __GST_CONSISTENCY_CHECKER_H__
25
26 #include <gst/check/gstcheck.h>
27
28 G_BEGIN_DECLS
29
30 /**
31 * GstStreamConsistency:
32 *
33 * Opaque consistency checker handle.
34 */
35 typedef struct _GstStreamConsistency GstStreamConsistency;
36
37 GST_CHECK_API
38 GstStreamConsistency * gst_consistency_checker_new (GstPad * pad);
39
40 GST_CHECK_API
41 gboolean gst_consistency_checker_add_pad (GstStreamConsistency * consist,
42 GstPad * pad);
43
44 GST_CHECK_API
45 void gst_consistency_checker_reset (GstStreamConsistency * consist);
46
47 GST_CHECK_API
48 void gst_consistency_checker_free (GstStreamConsistency * consist);
49
50 G_END_DECLS
51
52 #endif /* __GST_CONSISTENCY_CHECKER_H__ */