zathura/render.h

25 lines
504 B
C
Raw Normal View History

2011-01-07 09:07:02 +01:00
/* See LICENSE file for license and copyright information */
2011-01-24 12:43:39 +01:00
#ifndef RENDER_H
#define RENDER_H
2011-01-07 09:07:02 +01:00
#include <stdbool.h>
2011-01-24 12:43:39 +01:00
#include <stdlib.h>
#include <girara-datastructures.h>
2011-01-07 09:07:02 +01:00
#include "ft/document.h"
2011-01-24 12:43:39 +01:00
typedef struct render_thread_s
{
girara_list_t* list;
GThread* thread;
2011-01-26 12:06:57 +01:00
GMutex* lock;
GCond* cond;
2011-01-24 12:43:39 +01:00
} render_thread_t;
render_thread_t* render_init(void);
void render_free(render_thread_t* render_thread);
bool render_page(render_thread_t* render_thread, zathura_page_t* page);
#endif // RENDER_H