diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2010-10-10 18:00:32 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-10-10 18:00:32 +0200 |
commit | 818825d6dec810722cd9cdbf82fca8b62f08025d (patch) | |
tree | e9096b62a3049dfbe2cd5fbd4c68ba0d26652962 /src | |
parent | 2d72dfdcbbf0a12091bbeb1e53b483b5db1df7fb (diff) | |
download | pacrunner-818825d6dec810722cd9cdbf82fca8b62f08025d.tar.gz |
Add skeleton for PAC download support
Diffstat (limited to 'src')
-rw-r--r-- | src/download.c | 38 | ||||
-rw-r--r-- | src/main.c | 2 | ||||
-rw-r--r-- | src/pacrunner.h | 3 |
3 files changed, 43 insertions, 0 deletions
diff --git a/src/download.c b/src/download.c new file mode 100644 index 0000000..6a8244b --- /dev/null +++ b/src/download.c @@ -0,0 +1,38 @@ +/* + * + * PACrunner - Proxy configuration daemon + * + * Copyright (C) 2010 Intel Corporation. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + */ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "pacrunner.h" + +int __pacrunner_download_init(void) +{ + DBG(""); + + return 0; +} + +void __pacrunner_download_cleanup(void) +{ + DBG(""); +} @@ -157,6 +157,7 @@ int main(int argc, char *argv[]) __pacrunner_log_init(option_debug, option_detach); + __pacrunner_download_init(); __pacrunner_manager_init(conn); __pacrunner_client_init(conn); __pacrunner_mozjs_init(); @@ -171,6 +172,7 @@ int main(int argc, char *argv[]) __pacrunner_mozjs_cleanup(); __pacrunner_client_cleanup(); __pacrunner_manager_cleanup(); + __pacrunner_download_cleanup(); __pacrunner_log_cleanup(); diff --git a/src/pacrunner.h b/src/pacrunner.h index 4e5288c..c96130d 100644 --- a/src/pacrunner.h +++ b/src/pacrunner.h @@ -65,6 +65,9 @@ int __pacrunner_log_init(const char *debug, gboolean detach); void __pacrunner_log_cleanup(void); +int __pacrunner_download_init(void); +void __pacrunner_download_cleanup(void); + int __pacrunner_manager_init(DBusConnection *conn); void __pacrunner_manager_cleanup(); |