Lines Matching defs:rs
28 int rsfilewrite(Rs_t* rs, Sfio_t* sp, const char* path)
30 int rsfilewrite(rs, sp, path)
31 Rs_t* rs;
36 if ((rs->events & RS_FILE_WRITE) && rsnotify(rs, RS_FILE_WRITE, sp, (Void_t*)path, rs->disc) < 0)
46 int rsfileread(Rs_t* rs, Sfio_t* sp, const char* path)
48 int rsfileread(rs, sp, path)
49 Rs_t* rs;
54 if ((rs->events & RS_FILE_READ) && rsnotify(rs, RS_FILE_READ, sp, (Void_t*)path, rs->disc) < 0)
64 int rsfileclose(Rs_t* rs, Sfio_t* sp)
66 int rsfileclose(rs, sp)
67 Rs_t* rs;
73 if (rs->events & RS_FILE_CLOSE)
75 if ((n = rsnotify(rs, RS_FILE_CLOSE, sp, (Void_t*)0, rs->disc)) < 0)