From c4f6853748a829d67a72e5a622dddfc0d5f5c3ea Mon Sep 17 00:00:00 2001 From: Mario Danic Date: Mon, 17 Mar 2008 22:09:38 +0000 Subject: [PATCH] Created genisofs experimental project --- experimental/genisofs/trunk/AUTHORS | 0 experimental/genisofs/trunk/CONTRIBUTORS | 0 experimental/genisofs/trunk/COPYING | 0 experimental/genisofs/trunk/COPYRIGHT | 0 experimental/genisofs/trunk/HACKING | 88 ++++++++++++++++++++++++ experimental/genisofs/trunk/NEWS | 0 experimental/genisofs/trunk/README | 0 7 files changed, 88 insertions(+) create mode 100644 experimental/genisofs/trunk/AUTHORS create mode 100644 experimental/genisofs/trunk/CONTRIBUTORS create mode 100644 experimental/genisofs/trunk/COPYING create mode 100644 experimental/genisofs/trunk/COPYRIGHT create mode 100644 experimental/genisofs/trunk/HACKING create mode 100644 experimental/genisofs/trunk/NEWS create mode 100644 experimental/genisofs/trunk/README diff --git a/experimental/genisofs/trunk/AUTHORS b/experimental/genisofs/trunk/AUTHORS new file mode 100644 index 00000000..e69de29b diff --git a/experimental/genisofs/trunk/CONTRIBUTORS b/experimental/genisofs/trunk/CONTRIBUTORS new file mode 100644 index 00000000..e69de29b diff --git a/experimental/genisofs/trunk/COPYING b/experimental/genisofs/trunk/COPYING new file mode 100644 index 00000000..e69de29b diff --git a/experimental/genisofs/trunk/COPYRIGHT b/experimental/genisofs/trunk/COPYRIGHT new file mode 100644 index 00000000..e69de29b diff --git a/experimental/genisofs/trunk/HACKING b/experimental/genisofs/trunk/HACKING new file mode 100644 index 00000000..208ef531 --- /dev/null +++ b/experimental/genisofs/trunk/HACKING @@ -0,0 +1,88 @@ +/* This document will contain general hacking rules for libimgi */ + + +C Code guidelines: +------------------- +- Never more than 80 chars horizontally +- Only use C-Style commenting +- function names: lower case, separated by underscore +- Using lint is strongly recommended +- Use 4 spaces, not tabs + +Code should be formatted according to following example: + +# include "stdio.h" + +char *buffer; /* Comments to the right of declarations */ +char *start, *end, *last; +char *name; +/* This separates blocks of declarations */ +int baz; + +struct square { + int x; + int y; +}; + +#ifdef ENABLE_NLS + bindtextdomain(GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR); +#else /* Comments to the right of preproc directives */ + textdomain(PACKAGE); +#endif + +int +foo(int number, int len, char *name) +{ + if (number > 0) { + for (int i = 0; i < 7; i++) + len++; + number--; + } else { + while (len) { + len--}; + number++; + } + puts("Hi"); +} + +/* + The procedure bar is even less interesting. + it does nothing particular :) + */ +char* +bar(int nb) +{ + long c; + c = (long) foo(2, 5, "end"); + + /* Write "Hello" to Console */ + puts("Hello"); + + switch (nb) { + case 0: + break; + case 1: + nb++; + break; + default: + break; + } +} + +int +bool_test(char *mask) +{ + if (mask + && ((mask[0] == '\0') || + (mask[1] == '\0' && ((mask[0] == '0') || (mask[0] == '*'))))) + return 0; +} + +int +function_with_lots_of_arguments(char* arg1, char* arg2, int arg3, int arg4, + char* arg5, void* arg6, int arg7, float arg8, float arg9, float arg10, + int arg11, char* arg12) +{ + return 0; +} + diff --git a/experimental/genisofs/trunk/NEWS b/experimental/genisofs/trunk/NEWS new file mode 100644 index 00000000..e69de29b diff --git a/experimental/genisofs/trunk/README b/experimental/genisofs/trunk/README new file mode 100644 index 00000000..e69de29b