From 3410b7deba33302c2e3f2d4c3b5bafc15f357f5a Mon Sep 17 00:00:00 2001 From: Kostyantyn Ovechko Date: Sat, 24 Jul 2010 15:31:12 +0300 Subject: Add request tool. Request tool reads list of distfiles from ./pkg.list file and requests seggetd daemon to download distfiles from the list. --- segget/requestserver.h | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 segget/requestserver.h (limited to 'segget/requestserver.h') diff --git a/segget/requestserver.h b/segget/requestserver.h new file mode 100644 index 0000000..0ba2316 --- /dev/null +++ b/segget/requestserver.h @@ -0,0 +1,45 @@ +/* +* Copyright (C) 2010 Robin H.Johnson, Ovechko Kostyantyn . +* +* Project: IDFetch. +* Developer: Ovechko Kostyantyn Olexandrovich (Kharkiv State Technical University of Construction and Architecture, Ukraine). +* Mentor: Robin H. Johnson (Gentoo Linux: Developer, Trustee & Infrastructure Lead). +* Mentoring organization: Gentoo Linux. +* Sponsored by GSOC 2010. +* +* This file is part of Segget. +* +* Segget is free software; you can redistribute it and/or +* modify it under the terms of the GNU Lesser General Public +* License as published by the Free Software Foundation; either +* version 2.1 of the License, or (at your option) any later version. +* +* Segget 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 +* Lesser General Public License for more details. +* +* You should have received a copy of the GNU Lesser General Public +* License along with Segget; if not, write to the Free Software +* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ + +#ifndef __REQUESTSERVER_H__ +#define __REQUESTSERVER_H__ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include "tui.h" +#include "pkg.h" + +void *run_request_server(void * ); +#endif \ No newline at end of file -- cgit v1.2.3-65-gdbad