00001 /* 00002 ** gate.h for gate-srv in /home/pwipwi/lse/lseos/lseos-srv/basic/gate 00003 ** 00004 ** Made by (Christophe Eymard) 00005 ** Login <eymard_c@epita.fr> 00006 ** 00007 ** Started on Thu Mar 10 19:04:19 2005 Christophe Eymard 00008 ** Last update Sun Mar 20 15:35:33 2005 Christophe Eymard 00009 */ 00010 00011 #ifndef GATE_H_ 00012 # define GATE_H_ 00013 00014 # include <libc.h> 00015 //# include <core.h> 00016 //# include <libtimer.h> 00017 //# include <libinet.h> 00018 //# include <libpci.h> 00019 //# include <libpic.h> 00020 00021 # include "liblsavl.h" 00022 # include "libgate.h" 00023 # include "gates.h" 00024 00025 // t_gate_infos 00026 int gate_register(t_tcb *caller); 00027 00028 // t_gate_infos 00029 int gate_unregister(t_tcb *caller); 00030 00031 // int class, t_gate_infos gate_infos 00032 int gate_get_first(t_tcb *caller); 00033 00034 int gate_get_next(t_tcb *caller); 00035 00036 int gate_use(t_tcb *caller); 00037 int gate_unuse(t_tcb *caller); 00038 00039 #endif /* !GATE_H_ */