| version 1.3, 2001/12/02 23:30:06 |
version 1.4, 2002/02/06 21:44:11 |
|
|
| /* |
/* |
| * $Log$ |
* $Id$ |
| * 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 |
|
| * 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_H |
#define _FD_H |
|
|
| /* Returns the fd_id of string str. */ |
/* Returns the fd_id of string str. */ |
| int fd_str_to_fd_id(char *str); |
int fd_str_to_fd_id(char *str); |
| |
|
| /* Add link to proc according by fd_no. */ |
/* Add link to fd.. */ |
| /* 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 fd. */ |
| /* 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, |
| const struct proclink *link); |
const struct proclink *link); |
| |
|
| |
int fd_remove_proclink2( |
| |
struct fd *fd, |
| |
int link_proc_id, |
| |
int link_fd_id); |
| |
|
| int fd_remove_proclink_by_index( |
int fd_remove_proclink_by_index( |
| struct fd *fd, |
struct fd *fd, |
| const int index); |
const int index); |
| |
|
| /* Check existence of link in process according to fd_no. */ |
/* Check existence of link in process according to fd_no. */ |
| /* Return index+1 of link if link exists, 0 if not. */ |
/* Return index + 1 of link if link exists, 0 if not. */ |
| int fd_is_proclink( |
int fd_is_proclink( |
| struct fd *fd, |
struct fd *fd, |
| const struct proclink *link); |
const struct proclink *link); |
| |
|
| |
int fd_is_proclink2( |
| |
struct fd *fd, |
| |
int link_proc_id, |
| |
int link_fd_id); |
| |
|
| #endif /* #ifndef _FD_H */ |
#endif /* #ifndef _FD_H */ |
| |
|