/* 
 * File:   loop.h
 * Author: engelhardt
 *
 * Created on 4. Oktober 2011, 15:54
 */

#ifndef LOOP_H
#define	LOOP_H

#include <stdio.h>

typedef int* bulb;

FILE* loop_file;

bulb new_bulb();

void set_bulb_member(bulb b, int i, int vp, int task);

void set_bulb_core(bulb b, int core);

void set_bulb_id(bulb b, int id);

void set_loop_file(FILE* file);

void print_bulb_to_file(void* b);

void print_per_slot_to_file(void* _b);
#endif	/* LOOP_H */

