Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
961 | pj | 1 | /* |
2 | * Project: S.Ha.R.K. |
||
3 | * |
||
4 | * Coordinators: |
||
5 | * Giorgio Buttazzo <giorgio@sssup.it> |
||
6 | * Paolo Gai <pj@gandalf.sssup.it> |
||
7 | * |
||
8 | * Authors : |
||
9 | * Paolo Gai <pj@gandalf.sssup.it> |
||
10 | * Massimiliano Giorgi <massy@gandalf.sssup.it> |
||
11 | * Luca Abeni <luca@gandalf.sssup.it> |
||
12 | * (see the web pages for full authors list) |
||
13 | * |
||
14 | * ReTiS Lab (Scuola Superiore S.Anna - Pisa - Italy) |
||
15 | * |
||
16 | * http://www.sssup.it |
||
17 | * http://retis.sssup.it |
||
18 | * http://shark.sssup.it |
||
19 | */ |
||
20 | |||
21 | |||
22 | /** |
||
23 | ------------ |
||
24 | CVS : $Id: cabs.h,v 1.1 2005-02-25 10:53:41 pj Exp $ |
||
25 | |||
26 | File: $File$ |
||
27 | Revision: $Revision: 1.1 $ |
||
28 | Last update: $Date: 2005-02-25 10:53:41 $ |
||
29 | ------------ |
||
30 | |||
31 | This file contains the Hartik 3.3.1 CAB functions |
||
32 | |||
33 | |||
34 | Author: Gerardo Lamastra |
||
35 | Giuseppe Lipari |
||
36 | Date: 9/5/96 |
||
37 | |||
38 | File: Cabs.H |
||
39 | Revision: 1.1 |
||
40 | Date: 14/3/97 |
||
41 | |||
42 | **/ |
||
43 | |||
44 | /* |
||
45 | * Copyright (C) 2000 Paolo Gai |
||
46 | * |
||
47 | * This program is free software; you can redistribute it and/or modify |
||
48 | * it under the terms of the GNU General Public License as published by |
||
49 | * the Free Software Foundation; either version 2 of the License, or |
||
50 | * (at your option) any later version. |
||
51 | * |
||
52 | * This program is distributed in the hope that it will be useful, |
||
53 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
54 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||
55 | * GNU General Public License for more details. |
||
56 | * |
||
57 | * You should have received a copy of the GNU General Public License |
||
58 | * along with this program; if not, write to the Free Software |
||
59 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
||
60 | * |
||
61 | */ |
||
62 | |||
63 | /* $HEADER+ */ |
||
64 | |||
65 | #ifndef __CAB_H__ |
||
66 | #define __CAB_H__ |
||
67 | |||
68 | #include <ll/sys/types.h> |
||
69 | #include "ll/sys/cdefs.h" |
||
70 | |||
71 | __BEGIN_DECLS |
||
72 | |||
73 | #define MAX_CAB_NAME 10 /*+ Max. n. of chars for a CAB +*/ |
||
74 | |||
75 | #define MAX_CAB 50U /*+ Maximum number of CABs +*/ |
||
76 | |||
77 | |||
78 | typedef int CAB; |
||
79 | |||
80 | /*+ This function must be inserted in the __hartik_register_levels__ +*/ |
||
81 | void CABS_register_module(void); |
||
82 | |||
83 | /* User level CAB primitives */ |
||
84 | CAB cab_create(char *name, int dim_mes, BYTE num_mes); |
||
85 | char *cab_reserve(CAB id); |
||
86 | int cab_putmes(CAB id, void *pbuf); |
||
87 | char *cab_getmes(CAB id); |
||
88 | int cab_unget(CAB id, void *pun_mes); |
||
89 | void cab_delete(CAB id); |
||
90 | |||
91 | __END_DECLS |
||
92 | #endif /* __CAB_H__ */ |
||
93 |