#ifndef __STACKTRACE__
#define __STACKTRACE__

#include <string>

using namespace std;

/* based on article described here:
   http://www.linuxjournal.com/article/6391
   Stack Backtracing Inside Your Program
   Aug 11, 2003  By Gianluca Insolvibile
  Linux Journal
*/

string stacktrace();

#endif

