char *abi;
char *pd_group;
double period;
+ int pixels;
} default_conf;
struct {
char *reader;
char *always;
char *db;
- char *module;
char *input;
} path;
double ping_time;
+ char *vconf_sys_cluster;
+ int max_pended_ctx_events;
+
int use_sw_backend;
char *provider_method;
int debug_mode;
int com_core_thread;
int use_xmonitor;
int premultiplied;
+
+ double scale_width_factor;
+ double scale_height_factor;
+
+ double pd_request_timeout;
+
+ char *emergency_disk;
+ char *services;
int auto_align;
};
*/
.conf = "/opt/usr/live/%s/etc/%s.conf",
.script = "/opt/usr/live/%s/res/script/%s.edj",
- .module = "/opt/usr/live/%s/libexec/liblive-%s.so",
.input = "/dev/input/event1",
},
return strdup("/usr/lib/liblivebox-cpp.so");
}
-static inline char *old_style_path(const char *pkgname)
-{
- char *path;
- int path_len;
- int ret;
-
- path_len = (strlen(pkgname) * 2) + strlen(MODULE_PATH);
- path = malloc(path_len);
- if (!path) {
- ErrPrint("Memory: %s\n", strerror(errno));
- return NULL;
- }
-
- ret = snprintf(path, path_len, MODULE_PATH, pkgname, pkgname);
- if (ret < 0) {
- ErrPrint("Fault: %s\n", strerror(errno));
- free(path);
- return NULL;
- }
-
- DbgPrint("Fallback to old style libexec path (%s)\n", path);
- return path;
-}
-
static inline char *so_path_alloc(const char *pkgname)
{
char *lb_pkgname;
lb_pkgname = livebox_service_pkgname(pkgname);
if (!lb_pkgname) {
- path = old_style_path(pkgname);
+ ErrPrint("Failed to get package name\n");
+ return NULL;
} else {
path = livebox_service_libexec(lb_pkgname);
free(lb_pkgname);