Coda Distributed File System
|
#include <sys/time.h>
#include <stdlib.h>
#include <assert.h>
#include <lwp/lwp.h>
#include <lwp/timer.h>
#include "lwp.private.h"
Macros | |
#define | DEBUG(...) |
#define | expiration TotalTime |
#define | MILLION 1000000 |
Typedefs | |
typedef unsigned char | bool |
Functions | |
int | TM_eql (struct timeval *t1, struct timeval *t2) |
int | TM_Init (struct TM_Elem **list) |
int | TM_Final (struct TM_Elem **list) |
void | TM_Insert (struct TM_Elem *tlistPtr, struct TM_Elem *elem) |
void | TM_Remove (struct TM_Elem *tlistPtr, struct TM_Elem *elem) |
int | TM_Rescan (struct TM_Elem *tlist) |
struct TM_Elem * | TM_GetExpired (struct TM_Elem *tlist) |
struct TM_Elem * | TM_GetEarliest (struct TM_Elem *tlist) |
#define DEBUG | ( | ... | ) |
#define expiration TotalTime |
#define MILLION 1000000 |
typedef unsigned char bool |
int TM_eql | ( | struct timeval * | t1, |
struct timeval * | t2 | ||
) |
int TM_Final | ( | struct TM_Elem ** | list | ) |
int TM_Init | ( | struct TM_Elem ** | list | ) |
int TM_Rescan | ( | struct TM_Elem * | tlist | ) |