p2  0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Aio_fs_event Class Reference

create and init a Aio_fs_event More...

Public Member Functions

static void aio_fs_event_cb (uv_fs_event_t *handle, const char *filename, int events, int status)
 
static PN aio_fs_event_start (Potion *P, PN cl, PN self, PN cb, PN filename, PN flags)
 
static PN aio_fs_event_stop (Potion *P, PN cl, PN self)
 

Detailed Description

create and init a Aio_fs_event

Member Function Documentation

static void aio_fs_event_cb ( uv_fs_event_t *  handle,
const char *  filename,
int  events,
int  status 
)

The aio_fs_event callback will receive the following arguments:

Parameters
filename
eventsAIO_RENAME=1 or AIO_CHANGE=2
status
See also
http://nikhilm.github.io/uvbook/filesystem.html#file-change-events

Definition at line 101 of file aio.c.

static PN aio_fs_event_start ( Potion P,
PN  cl,
PN  self,
PN  cb,
PN  filename,
PN  flags 
)

start a Aio_fs_event

Parameters
cbPNClosure or FFI function
filenamePNString
flagsINT

Definition at line 500 of file aio.c.

static PN aio_fs_event_stop ( Potion P,
PN  cl,
PN  self 
)

Definition at line 510 of file aio.c.


The documentation for this class was generated from the following file: