view src/lib/backtrace-string.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
line wrap: on
line source

#ifndef BACKTRACE_STRING_H
#define BACKTRACE_STRING_H

/* Returns 0 if ok, -1 if failure. */
int backtrace_append(string_t *str);
int backtrace_get(const char **backtrace_r);

#endif