satyr
0.31
include
frame.h
Go to the documentation of this file.
1
/*
2
frame.h
3
4
Copyright (C) 2013 Red Hat, Inc.
5
6
This program is free software; you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation; either version 2 of the License, or
9
(at your option) any later version.
10
11
This program is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
15
16
You should have received a copy of the GNU General Public License along
17
with this program; if not, write to the Free Software Foundation, Inc.,
18
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19
*/
20
#ifndef SATYR_FRAME_H
21
#define SATYR_FRAME_H
22
41
#ifdef __cplusplus
42
extern
"C"
{
43
#endif
44
45
#include "
report_type.h
"
46
47
struct
sr_strbuf
;
48
49
struct
sr_frame
50
{
51
enum
sr_report_type type;
52
};
53
58
struct
sr_frame
*
59
sr_frame_next
(
struct
sr_frame
*frame);
60
64
void
65
sr_frame_set_next
(
struct
sr_frame
*cur,
struct
sr_frame
*next);
66
70
void
71
sr_frame_append_to_str
(
struct
sr_frame
*frame,
struct
sr_strbuf
*strbuf);
72
77
int
78
sr_frame_cmp
(
struct
sr_frame
*t1,
struct
sr_frame
*t2);
79
84
int
85
sr_frame_cmp_distance
(
struct
sr_frame
*t1,
struct
sr_frame
*t2);
86
87
void
88
sr_frame_free(
struct
sr_frame
*frame);
89
90
#ifdef __cplusplus
91
}
92
#endif
93
94
#endif
report_type.h
Report type.
sr_frame
Definition:
frame.h:50
sr_frame_set_next
void sr_frame_set_next(struct sr_frame *cur, struct sr_frame *next)
sr_frame_cmp
int sr_frame_cmp(struct sr_frame *t1, struct sr_frame *t2)
sr_strbuf
A resizable string buffer.
Definition:
strbuf.h:39
sr_frame_append_to_str
void sr_frame_append_to_str(struct sr_frame *frame, struct sr_strbuf *strbuf)
sr_frame_next
struct sr_frame * sr_frame_next(struct sr_frame *frame)
sr_frame_cmp_distance
int sr_frame_cmp_distance(struct sr_frame *t1, struct sr_frame *t2)
Generated by
1.8.20