move dirhelpers to common/
This commit is contained in:
parent
a9a55b0ddc
commit
979f2190d0
|
@ -2,7 +2,7 @@
|
||||||
/*
|
/*
|
||||||
* LADI Session Handler (ladish)
|
* LADI Session Handler (ladish)
|
||||||
*
|
*
|
||||||
* Copyright (C) 2009 Nedko Arnaudov <nedko@arnaudov.name>
|
* Copyright (C) 2009,2010 Nedko Arnaudov <nedko@arnaudov.name>
|
||||||
*
|
*
|
||||||
**************************************************************************
|
**************************************************************************
|
||||||
* This file contains implementation of the directory helper functions
|
* This file contains implementation of the directory helper functions
|
||||||
|
@ -24,11 +24,12 @@
|
||||||
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "common.h"
|
#include "../common.h"
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
bool
|
bool
|
||||||
ensure_dir_exist(
|
ensure_dir_exist(
|
|
@ -2,7 +2,7 @@
|
||||||
/*
|
/*
|
||||||
* LADI Session Handler (ladish)
|
* LADI Session Handler (ladish)
|
||||||
*
|
*
|
||||||
* Copyright (C) 2009 Nedko Arnaudov <nedko@arnaudov.name>
|
* Copyright (C) 2009,2010 Nedko Arnaudov <nedko@arnaudov.name>
|
||||||
*
|
*
|
||||||
**************************************************************************
|
**************************************************************************
|
||||||
* This file contains prototypes of the directory helper functions
|
* This file contains prototypes of the directory helper functions
|
|
@ -33,7 +33,7 @@
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
#include "../catdup.h"
|
#include "../catdup.h"
|
||||||
#include "dirhelpers.h"
|
#include "../common/dirhelpers.h"
|
||||||
|
|
||||||
#define DEFAULT_XDG_LOG "/.log"
|
#define DEFAULT_XDG_LOG "/.log"
|
||||||
#define LADISH_XDG_SUBDIR "/" BASE_NAME
|
#define LADISH_XDG_SUBDIR "/" BASE_NAME
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
#include "studio.h"
|
#include "studio.h"
|
||||||
#include "../dbus_constants.h"
|
#include "../dbus_constants.h"
|
||||||
#include "../catdup.h"
|
#include "../catdup.h"
|
||||||
#include "dirhelpers.h"
|
#include "../common/dirhelpers.h"
|
||||||
#include "../proxies/a2j_proxy.h"
|
#include "../proxies/a2j_proxy.h"
|
||||||
#include "../proxies/jmcore_proxy.h"
|
#include "../proxies/jmcore_proxy.h"
|
||||||
#include "../proxies/notify_proxy.h"
|
#include "../proxies/notify_proxy.h"
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
#include "room_internal.h"
|
#include "room_internal.h"
|
||||||
#include "../catdup.h"
|
#include "../catdup.h"
|
||||||
#include "save.h"
|
#include "save.h"
|
||||||
#include "dirhelpers.h"
|
#include "../common/dirhelpers.h"
|
||||||
|
|
||||||
#define PROJECT_HEADER_TEXT BASE_NAME " Project.\n"
|
#define PROJECT_HEADER_TEXT BASE_NAME " Project.\n"
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
#include "../dbus_constants.h"
|
#include "../dbus_constants.h"
|
||||||
#include "control.h"
|
#include "control.h"
|
||||||
#include "../catdup.h"
|
#include "../catdup.h"
|
||||||
#include "dirhelpers.h"
|
#include "../common/dirhelpers.h"
|
||||||
#include "graph_dict.h"
|
#include "graph_dict.h"
|
||||||
#include "escape.h"
|
#include "escape.h"
|
||||||
#include "studio.h"
|
#include "studio.h"
|
||||||
|
|
2
wscript
2
wscript
|
@ -249,7 +249,6 @@ def build(bld):
|
||||||
'main.c',
|
'main.c',
|
||||||
'loader.c',
|
'loader.c',
|
||||||
'log.c',
|
'log.c',
|
||||||
'dirhelpers.c',
|
|
||||||
'sigsegv.c',
|
'sigsegv.c',
|
||||||
'proctitle.c',
|
'proctitle.c',
|
||||||
'appdb.c',
|
'appdb.c',
|
||||||
|
@ -311,6 +310,7 @@ def build(bld):
|
||||||
|
|
||||||
for source in [
|
for source in [
|
||||||
'time.c',
|
'time.c',
|
||||||
|
'dirhelpers.c',
|
||||||
]:
|
]:
|
||||||
daemon.source.append(os.path.join("common", source))
|
daemon.source.append(os.path.join("common", source))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue