view src/lib/hostpid.h @ 8076:bbfbc84f795c HEAD

Added clock_gettime() compatibility function for systems without it.
author Timo Sirainen <tss@iki.fi>
date Thu, 07 Aug 2008 15:05:40 -0400
parents e4eb71ae8e96
children 2609eca99495
line wrap: on
line source

#ifndef HOSTPID_H
#define HOSTPID_H

extern const char *my_hostname;
extern const char *my_pid;

/* Initializes my_hostname and my_pid. Done only once, so it's safe and
   fast to call this function multiple times. */
void hostpid_init(void);

#endif