X-Git-Url: https://uglyman.kremlin.cc/gitweb/gitweb.cgi?a=blobdiff_plain;f=src%2Fmain.h;h=a7a4273ab09be9fed1b9aa53669f9a70dd34405e;hb=baa40e286883ba226c5dde2ff43a8123cc621020;hp=c8f97819dee7e4811a1715d80b25f3fafc71908d;hpb=11475670562275e7c88bf91b988af014dfe8a4ca;p=systembsd.git diff --git a/src/main.h b/src/main.h index c8f9781..a7a4273 100644 --- a/src/main.h +++ b/src/main.h @@ -1,5 +1,22 @@ +/* + * Copyright (c) 2014 Ian Sutton + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + #include +//TODO change this to config dir, not data dir gboolean install_conf() { gchar *our_conf_uri = "systemd-utl/xml-conf/"; gchar **data_dir = g_get_system_data_dirs();