satyr 0.43
Loading...
Searching...
No Matches
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
42extern "C" {
43#endif
44
45#include <glib.h>
46#include "report_type.h"
47
48
50{
51 enum sr_report_type type;
52};
53
58struct sr_frame *
59sr_frame_next(struct sr_frame *frame);
60
64void
65sr_frame_set_next(struct sr_frame *cur, struct sr_frame *next);
66
70void
71sr_frame_append_to_str(struct sr_frame *frame, GString *strbuf);
72
77int
78sr_frame_cmp(struct sr_frame *t1, struct sr_frame *t2);
79
84int
85sr_frame_cmp_distance(struct sr_frame *t1, struct sr_frame *t2);
86
87void
88sr_frame_free(struct sr_frame *frame);
89
90#ifdef __cplusplus
91}
92#endif
93
94#endif
void sr_frame_set_next(struct sr_frame *cur, struct sr_frame *next)
int sr_frame_cmp(struct sr_frame *t1, struct sr_frame *t2)
int sr_frame_cmp_distance(struct sr_frame *t1, struct sr_frame *t2)
void sr_frame_append_to_str(struct sr_frame *frame, GString *strbuf)
struct sr_frame * sr_frame_next(struct sr_frame *frame)
Report type.