pike.git / src / modules / Wnotify / wnotify.cmod

version» Context lines:

pike.git/src/modules/Wnotify/wnotify.cmod:47:    */      PIKECLASS NotificationHandle   {    CVAR HANDLE handle;    PIKEVAR string path;    PIKEVAR int watch_subtree;    PIKEVAR int filter;    PIKEVAR int triggered;    - /*! @decl create(string path, int watch_subtree, int filter) + /*! @decl void create(string path, int watch_subtree, int filter)    */    PIKEFUN void create(string path, int watch_subtree, int filter)    {    HANDLE h;       THIS->path = path;    add_ref(path);    THIS->watch_subtree = watch_subtree;    THIS->filter = filter;    if(string_has_null(path))
pike.git/src/modules/Wnotify/wnotify.cmod:119:    {    }       EXIT    {    if(THIS->path) free_string(THIS->path);    if(THIS->handle) FindCloseChangeNotification(THIS->handle);    }   }    + /*! @endclass */ +    /*! @class EventPoller    */   PIKECLASS EventPoller   {    /* Do not meddle with this array; it must be kept in sync with the handles array. */    PIKEVAR array phandles    flags ID_PRIVATE;       CVAR HANDLE * handles;    CVAR int handles_size;
pike.git/src/modules/Wnotify/wnotify.cmod:238:       EXIT    {    if(THIS->handles)    free(THIS->handles);    if(THIS->phandles)    free_array(THIS->phandles);    }   }    + /*! @endclass */ +    #endif /* HAVE_FINDFIRSTCHANGENOTIFICATION */      PIKE_MODULE_INIT   {    INIT;   /*! @decl constant FILE_NOTIFY_CHANGE_FILE_NAME    */      /*! @decl constant FILE_NOTIFY_CHANGE_DIR_NAME    */
pike.git/src/modules/Wnotify/wnotify.cmod:277:    ADD_ICONST(FILE_NOTIFY_CHANGE_SECURITY);   #endif /* HAVE_FINDFIRSTCHANGENOTIFICATION */      }      PIKE_MODULE_EXIT   {    EXIT;   }    - /*! @endclass -  */ -  +    /*! @endmodule    */      /*! @endmodule    */