Fix perf_crypto_rsa.c after various changes
[oweals/gnunet.git] / src / util / os_installation.c
index 030a935c116acdd7e7a03515da0b47ebe8014bc5..a0e8647a1211bce37fe0fe4e7a7487cfbe27a73c 100644 (file)
@@ -58,6 +58,11 @@ static const struct GNUNET_OS_ProjectData default_pd = {
   .project_dirname = "gnunet",
   .binary_name = "gnunet-arm",
   .env_varname = "GNUNET_PREFIX",
+  .base_config_varname = "GNUNET_BASE_CONFIG",
+  .bug_email = "gnunet-developers@gnu.org",
+  .homepage = "http://www.gnu.org/s/gnunet/",
+  .config_file = "gnunet.conf",
+  .user_config_file = "~/.config/gnunet.conf",
 };
 
 /**
@@ -76,6 +81,16 @@ GNUNET_OS_project_data_default (void)
 }
 
 
+/**
+ * @return current project data.
+ */
+const struct GNUNET_OS_ProjectData *
+GNUNET_OS_project_data_get ()
+{
+  return current_pd;
+}
+
+
 /**
  * Setup OS subsystem with project data.
  *
@@ -89,7 +104,6 @@ GNUNET_OS_init (const struct GNUNET_OS_ProjectData *pd)
 }
 
 
-
 #if LINUX
 /**
  * Try to determine path by reading /proc/PID/exe