#include <sys/types.h>
#include <inttypes.h>
#include "event2/event.h"
#include "event2/http.h"
#include "event2/rpc.h"
#include <atalk/lockrpc.gen.h>
Go to the source code of this file.
|
int | rpc_init (const char *addr, unsigned short port) |
int | rpc_lock (struct adouble *, uint32_t eid, int type, off_t off, off_t len, int user) |
void | rpc_unlock (struct adouble *, int user) |
int | rpc_tmplock (struct adouble *, uint32_t eid, int type, off_t off, off_t len, int user) |
◆ rpc_init()
int rpc_init |
( |
const char * | addr, |
|
|
unsigned short | port ) |
|
extern |
◆ rpc_lock()
int rpc_lock |
( |
struct adouble * | , |
|
|
uint32_t | eid, |
|
|
int | type, |
|
|
off_t | off, |
|
|
off_t | len, |
|
|
int | user ) |
|
extern |
◆ rpc_tmplock()
int rpc_tmplock |
( |
struct adouble * | , |
|
|
uint32_t | eid, |
|
|
int | type, |
|
|
off_t | off, |
|
|
off_t | len, |
|
|
int | user ) |
|
extern |
◆ rpc_unlock()
void rpc_unlock |
( |
struct adouble * | , |
|
|
int | user ) |
|
extern |