Go to the source code of this file.
|
typedef struct _sion_fddata | sion_fddata |
|
|
int | _sion_newvcd (void *data, int type) |
|
int | _sion_freevcd (int sid) |
|
void * | _sion_vcdtovcon (int sid) |
|
int | _sion_vcdtype (int sid) |
|
int | _sion_reassignvcd (int sid, void *data, int type) |
|
int | _sion_new_fd (sion_fddata *fdd, void *data, int type) |
|
int | _sion_set_fd (sion_fddata *fdd, int fd, void *data, int type, char *text) |
|
void * | _sion_fd2ptr (sion_fddata *fdd, int fd) |
|
int | _sion_fd2type (sion_fddata *fdd, int fd, char *text) |
|
int | _sion_ptr2fd (sion_fddata *fdd, void *ptr, char *text) |
|
int | _sion_free_fd (sion_fddata *fdd, int fd, char *text) |
|
int | _sion_reassign_fd (sion_fddata *fdd, int fd, void *data, int type, char *text) |
|
int | _sion_fd_size (sion_fddata *fdd) |
|
◆ SION_APIDESCRIPTOR
#define SION_APIDESCRIPTOR 12 |
int id -> data structure mapping (from visit library)
Definition at line 17 of file sion_fd.h.
◆ SION_FILEDESCRIPTOR
#define SION_FILEDESCRIPTOR 11 |
int id -> data structure mapping (from visit library)
Definition at line 16 of file sion_fd.h.
◆ _sion_fd2ptr()
void* _sion_fd2ptr |
( |
sion_fddata * |
fdd, |
|
|
int |
fd |
|
) |
| |
- Returns
- The data associated with a descriptor
Definition at line 246 of file sion_fd.c.
◆ _sion_fd2type()
int _sion_fd2type |
( |
sion_fddata * |
fdd, |
|
|
int |
fd, |
|
|
char * |
text |
|
) |
| |
- Returns
- The type (of data) associated with a descriptor
Definition at line 264 of file sion_fd.c.
◆ _sion_fd_size()
int _sion_fd_size |
( |
sion_fddata * |
fdd | ) |
|
- Returns
- The size of the descriptor array.
Definition at line 338 of file sion_fd.c.
◆ _sion_free_fd()
int _sion_free_fd |
( |
sion_fddata * |
fdd, |
|
|
int |
fd, |
|
|
char * |
text |
|
) |
| |
◆ _sion_freevcd()
int _sion_freevcd |
( |
int |
sid | ) |
|
◆ _sion_new_fd()
int _sion_new_fd |
( |
sion_fddata * |
fdd, |
|
|
void * |
data, |
|
|
int |
type |
|
) |
| |
Get a new descriptor and assign data/type to it.
- Returns
- The new descriptor or -1 in case of an error.
Definition at line 75 of file sion_fd.c.
◆ _sion_newvcd()
int _sion_newvcd |
( |
void * |
data, |
|
|
int |
type |
|
) |
| |
◆ _sion_ptr2fd()
int _sion_ptr2fd |
( |
sion_fddata * |
fdd, |
|
|
void * |
ptr, |
|
|
char * |
text |
|
) |
| |
- Returns
- The smallest valid descriptor, that has 'data' associated to or -1 if there is none
Definition at line 288 of file sion_fd.c.
◆ _sion_reassign_fd()
int _sion_reassign_fd |
( |
sion_fddata * |
fdd, |
|
|
int |
fd, |
|
|
void * |
data, |
|
|
int |
type, |
|
|
char * |
text |
|
) |
| |
Assign new data/type to descriptor fd, where fd must be in use
- Returns
- 1 if successful, 0 otherwise
Definition at line 314 of file sion_fd.c.
◆ _sion_reassignvcd()
int _sion_reassignvcd |
( |
int |
sid, |
|
|
void * |
data, |
|
|
int |
type |
|
) |
| |
◆ _sion_set_fd()
int _sion_set_fd |
( |
sion_fddata * |
fdd, |
|
|
int |
fd, |
|
|
void * |
data, |
|
|
int |
type, |
|
|
char * |
text |
|
) |
| |
Add data/type to the descriptor fd. fd must be non-negative and not be in use
- Returns
- 1 if successful, 0 otherwise
Definition at line 147 of file sion_fd.c.
◆ _sion_vcdtovcon()
void* _sion_vcdtovcon |
( |
int |
sid | ) |
|
◆ _sion_vcdtype()
int _sion_vcdtype |
( |
int |
sid | ) |
|