|
ucspi-tcp6 1.13.06
ucspi-tcp6
|
#include <unistd.h>#include "sig.h"#include "buffer.h"#include "logmsg.h"#include "str.h"#include "byte.h"#include "exit.h"#include "fd.h"#include "fmt.h"#include "iopause.h"#include "pathexec.h"
Go to the source code of this file.
Macros | |
| #define | WHO "recordio" |
Functions | |
| void | record (char *buf, int len, char *direction) |
| void | doit (int fdleft, int fdright) |
| int | main (int argc, char *const *argv, char *const *envp) |
Variables | |
| char | pid [FMT_ULONG] |
| char | recordbuf [512] |
| buffer | ssrecord = BUFFER_INIT(buffer_unixwrite,2,recordbuf,sizeof(recordbuf)) |
| int | leftstatus = 0 |
| char | leftbuf [256] |
| int | leftlen |
| int | leftpos |
| int | rightstatus = 0 |
| char | rightbuf [256] |
| int | rightlen |
| int | rightpos |
| #define WHO "recordio" |
Definition at line 13 of file recordio.c.
| void doit | ( | int | fdleft, |
| int | fdright ) |
Definition at line 54 of file recordio.c.


| int main | ( | int | argc, |
| char *const * | argv, | ||
| char *const * | envp ) |
| void record | ( | char * | buf, |
| int | len, | ||
| char * | direction ) |
| char leftbuf[256] |
Definition at line 45 of file recordio.c.
| int leftlen |
Definition at line 46 of file recordio.c.
| int leftpos |
Definition at line 47 of file recordio.c.
| int leftstatus = 0 |
Definition at line 44 of file recordio.c.
| char pid[FMT_ULONG] |
Definition at line 15 of file recordio.c.
| char recordbuf[512] |
Definition at line 17 of file recordio.c.
| char rightbuf[256] |
Definition at line 50 of file recordio.c.
| int rightlen |
Definition at line 51 of file recordio.c.
| int rightpos |
Definition at line 52 of file recordio.c.
| int rightstatus = 0 |
Definition at line 49 of file recordio.c.
Definition at line 18 of file recordio.c.