From aea15365fab80e1d7128bdf4112440405375e29c Mon Sep 17 00:00:00 2001 From: hackbard Date: Sat, 1 May 2004 22:25:21 +0000 Subject: [PATCH] f00b4r --- src/TODO | 2 ++ src/inet.c | 10 ++++++++++ src/inet.h | 13 +++++++++++++ src/ivac.c | 31 +++++++++++++++++++++++++++++++ src/ivac.h | 21 +++++++++++++++++++++ 5 files changed, 77 insertions(+) create mode 100644 src/inet.c create mode 100644 src/inet.h create mode 100644 src/ivac.c create mode 100644 src/ivac.h diff --git a/src/TODO b/src/TODO index f8f0cdf..0d29049 100644 --- a/src/TODO +++ b/src/TODO @@ -8,6 +8,7 @@ schedule: 1st july: add minimal video support 1st augu: minimal gtk gui 1st sept: release of version 1.0 + ? : multi challenger support unsorted todo: - connection management @@ -17,6 +18,7 @@ unsorted todo: - v4l introduction - gtk introduction +main principle: KIS let's see :) frank a.k.a. hackbard diff --git a/src/inet.c b/src/inet.c new file mode 100644 index 0000000..7a9e41a --- /dev/null +++ b/src/inet.c @@ -0,0 +1,10 @@ +/* inet.c -- network management stuff + * + * author: hackbard@hackdaworld.dyndns.org + * + */ + +#include "inet.h" + + +int diff --git a/src/inet.h b/src/inet.h new file mode 100644 index 0000000..a8fbe2a --- /dev/null +++ b/src/inet.h @@ -0,0 +1,13 @@ +/* inet.h -- inet headers */ + +#ifndef INET_H +#define INET_H + +/* variables */ +typedef s_net { + int l_fd,c_fd; + +} t_net; + +#endif + diff --git a/src/ivac.c b/src/ivac.c new file mode 100644 index 0000000..610ac1c --- /dev/null +++ b/src/ivac.c @@ -0,0 +1,31 @@ +/* ivac.c -- main ivac file + * + * author: hackbard@hackdaworld.dyndns.org + * frank.zirkelbach@physik.uni-augsburg.de + * + * Copyright (C) 2004 Frank Zirkelbach + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + */ + +#include "ivac.h" + +int main(int argc,char **argv) { + + + + return 1; +} diff --git a/src/ivac.h b/src/ivac.h new file mode 100644 index 0000000..9e171bd --- /dev/null +++ b/src/ivac.h @@ -0,0 +1,21 @@ +/* ivac.h -- main ivac header file */ + +#ifndef IVAC_H +#define IVAC_H + +/* includes */ +#define _GNU_SOURCE +#include + +/* defines */ +#define CHAR_USERNAME 32 + +/* variables */ + +typedef s_ivac { + char username[CHAR_USERNAME]; + t_net net; + +} t_ivac; + +#endif -- 2.39.2