int maillock_write_lock(const char * filename, int fd) { return lock_common(filename, fd, F_WRLCK); }
static PyObject *ncOpUnlock(ncSessionObject *self, PyObject *args, PyObject *keywords) { return (lock_common(self, args, keywords, nc_rpc_unlock)); }
int maillock_read_lock(const char * filename, int fd) { return lock_common(filename, fd, F_RDLCK); }