Diff for ep/src/fd.h between version 1.2 and 1.3
| version 1.2, 2001/09/21 19:44:51 |
version 1.3, 2001/12/02 23:30:06 |
|
|
| /* |
/* |
| * $Log$ |
* $Log$ |
| |
* Revision 1.3 2001/12/02 23:30:06 jombik9 |
| |
* A lot of new functions added. |
| |
* Various improvements. |
| |
* |
| * Revision 1.2 2001/09/21 19:44:51 host8 |
* Revision 1.2 2001/09/21 19:44:51 host8 |
| * Added $Log$ keyword substitution |
* Added $Log$ |
| |
* Added Revision 1.3 2001/12/02 23:30:06 jombik9 |
| |
* Added A lot of new functions added. |
| |
* Added Various improvements. |
| |
* Added keyword substitution |
| * |
* |
| */ |
*/ |
| #ifndef _FD_H |
#ifndef _FD_H |
|
|
| #define FD_IN 0 |
#define FD_IN 0 |
| #define FD_OUT 1 |
#define FD_OUT 1 |
| #define FD_ERR 2 |
#define FD_ERR 2 |
| #define INVALID_FD 0xffff |
#define INVALID_FD 0xffff |
| |
|
| #define N_FD_STR (11) |
#define N_FD_STR (11) |
| |
|
|
|
| |
|
| }; |
}; |
| |
|
| |
/* Returns the fd_id of string str. */ |
| |
int fd_str_to_fd_id(char *str); |
| |
|
| /* Add link to proc according by fd_no. */ |
/* Add link to proc according by fd_no. */ |
| /* Return 1 if OK, 0 for errors. */ |
/* Return 1 if OK, 0 for errors. */ |
| int fd_add_proclink( |
int fd_add_proclink( |
| struct fd *fd, |
struct fd *fd, |
| const struct proclink *link); |
const struct proclink *link); |
| |
|
| /* Remove link from proc according by fd_no. */ |
/* Remove link from proc according by fd_no. */ |
| /* Return 1 if OK, 0 for errors. */ |
/* Return 1 if OK, 0 for errors. */ |
| int fd_remove_proclink( |
int fd_remove_proclink( |
| struct fd *fd, |
struct fd *fd, |
Platon Group <platon@platon.org> http://platon.org/
|
|