ocarina/include/libsaria/path.h
Bryan Schumaker dd5e73a2ba libsaria: Delete playlists and renderers when popped
This allows dynamic memory to be freed when we are done using it.

Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
2012-03-04 10:02:03 -05:00

27 lines
406 B
C++

#ifndef LIBSARIA_PATH_H
#define LIBSARIA_PATH_H
#include <libsaria/track.h>
#include <string>
#include <list>
using namespace std;
#include <sys/types.h>
struct file
{
string name;
sid_t d_sid;
};
string get_saria_dir();
void make_saria_dir();
bool exists(string);
void remove_file(string);
sid_t lookup_songid(string &);
string open_pipe(string);
void close_pipes();
#endif /* LIBSARIA_PATH_H */