/* {{{ proto resource fam_open([string appname])
- */
+ Open FAM connection */
PHP_FUNCTION(fam_open)
{
char *appname = NULL;
/* }}} */
/* {{{ proto void fam_close(resource id)
- */
+ Close FAM connection */
PHP_FUNCTION(fam_close)
{
int argc = ZEND_NUM_ARGS();
/* }}} */
/* {{{ proto resource fam_monitor_directory(resource id, string dirname)
- */
+ Monitor a directory for changes */
PHP_FUNCTION(fam_monitor_directory)
{
char *dirname = NULL;
/* }}} */
/* {{{ proto resource fam_monitor_file(resource id, string filename)
- */
+ Monitor a regular file for changes */
PHP_FUNCTION(fam_monitor_file)
{
char *filename = NULL;
/* }}} */
/* {{{ proto resource fam_monitor_collection(resource id, string dirname, int depth, string mask)
- */
+ Monitor a collection of files in a directory for changes */
PHP_FUNCTION(fam_monitor_collection)
{
char *dirname = NULL;
/* }}} */
/* {{{ proto bool fam_suspend_monitor(resource id, resource monitor_id)
- */
+ Temporary suspend monitoring */
PHP_FUNCTION(fam_suspend_monitor)
{
int argc = ZEND_NUM_ARGS();
/* }}} */
/* {{{ proto bool fam_resume_monitor(resource id, resource monitor_id)
- */
+ Resume suspended monitoring */
PHP_FUNCTION(fam_resume_monitor)
{
int argc = ZEND_NUM_ARGS();
/* }}} */
/* {{{ proto bool fam_cancel_monitor(resource id, resource monitor_id)
- */
+ Terminate monitoring */
PHP_FUNCTION(fam_cancel_monitor)
{
int argc = ZEND_NUM_ARGS();
/* }}} */
/* {{{ proto int fam_pending(resource id)
- */
+ Check for pending FAM events */
PHP_FUNCTION(fam_pending)
{
int argc = ZEND_NUM_ARGS();
/* }}} */
/* {{{ proto array fam_next_event(resource id)
- */
+ Get next pending FAM event */
PHP_FUNCTION(fam_next_event)
{
int argc = ZEND_NUM_ARGS();