HOPS
HOPS class reference
|
#include <sys/types.h>
#include <unistd.h>
#include <sys/time.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include "write_lock_mechanism.h"
#include "msg.h"
Functions | |
int | check_stale (lockfile_data_struct *other) |
void | clear_global_lockfile_data () |
int | create_lockfile (char *rootname, char *lockfile_name, int max_seq_no) |
void | init_lockfile_data (lockfile_data_struct *data) |
int | lock_has_priority (lockfile_data_struct *other) |
int | parse_lockfile_name (char *lockfile_name_base, lockfile_data_struct *result) |
void | remove_lockfile () |
int check_stale | ( | lockfile_data_struct * | other | ) |
void clear_global_lockfile_data | ( | ) |
int create_lockfile | ( | char * | rootname, |
char * | lockfile_name, | ||
int | max_seq_no | ||
) |
void init_lockfile_data | ( | lockfile_data_struct * | data | ) |
int lock_has_priority | ( | lockfile_data_struct * | other | ) |
int parse_lockfile_name | ( | char * | lockfile_name_base, |
lockfile_data_struct * | result | ||
) |
void remove_lockfile | ( | ) |