satyr  0.26
Data Structures | Functions
frame.h File Reference

Frame. More...

#include "report_type.h"

Go to the source code of this file.

Data Structures

struct  sr_frame
 

Functions

struct sr_framesr_frame_next (struct sr_frame *frame)
 
void sr_frame_set_next (struct sr_frame *cur, struct sr_frame *next)
 
void sr_frame_append_to_str (struct sr_frame *frame, struct sr_strbuf *strbuf)
 
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_free (struct sr_frame *frame)
 

Detailed Description

Frame.

Definition in file frame.h.

Function Documentation

◆ sr_frame_append_to_str()

void sr_frame_append_to_str ( struct sr_frame frame,
struct sr_strbuf strbuf 
)

Appends textual representation of the frame to buffer strbuf.

◆ sr_frame_cmp()

int sr_frame_cmp ( struct sr_frame t1,
struct sr_frame t2 
)

Compares two frames. Returns 0 on equality. Frames of distinct type are always unequal.

◆ sr_frame_cmp_distance()

int sr_frame_cmp_distance ( struct sr_frame t1,
struct sr_frame t2 
)

Compares two frames for the purpose of thread distance computation. Returns 0 on equality. Frames of distinct type are always unequal.

◆ sr_frame_next()

struct sr_frame* sr_frame_next ( struct sr_frame frame)

Return the next frame linked from this frame (corresponds to reading the "next" struct member).

◆ sr_frame_set_next()

void sr_frame_set_next ( struct sr_frame cur,
struct sr_frame next 
)

Set the next pointer.