[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bacula-commits
Subject:    [Bacula-commits] SF.net SVN: bacula:[7646] trunk/bacula
From:       kerns () users ! sourceforge ! net
Date:       2008-09-25 19:52:14
Message-ID: E1Kiwso-0000yJ-MO () d5vjzd1 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Revision: 7646
          http://bacula.svn.sourceforge.net/bacula/?rev=7646&view=rev
Author:   kerns
Date:     2008-09-25 19:52:12 +0000 (Thu, 25 Sep 2008)

Log Message:
-----------
Remove some old reader/writer code

Modified Paths:
--------------
    trunk/bacula/src/dird/inc_conf.c
    trunk/bacula/technotes-2.5

Modified: trunk/bacula/src/dird/inc_conf.c
===================================================================
--- trunk/bacula/src/dird/inc_conf.c	2008-09-25 19:43:35 UTC (rev 7645)
+++ trunk/bacula/src/dird/inc_conf.c	2008-09-25 19:52:12 UTC (rev 7646)
@@ -57,9 +57,7 @@
 static void options_res(LEX *lc, RES_ITEM *item, int index, int pass);
 static void store_base(LEX *lc, RES_ITEM *item, int index, int pass);
 static void store_plugin(LEX *lc, RES_ITEM *item, int index, int pass);
-static void store_reader(LEX *lc, RES_ITEM *item, int index, int pass);
 static void store_ignoredir(LEX *lc, RES_ITEM *item, int index, int pass);
-static void store_writer(LEX *lc, RES_ITEM *item, int index, int pass);
 static void setup_current_opts(void);
 
 
@@ -119,8 +117,6 @@
    {"exclude",         store_opts,    {0},     0, 0, 0},
    {"aclsupport",      store_opts,    {0},     0, 0, 0},
    {"plugin",          store_plugin,  {0},     0, 0, 0},
-   {"reader",          store_reader,  {0},     0, 0, 0},
-   {"writer",          store_writer,  {0},     0, 0, 0},
    {"ignorecase",      store_opts,    {0},     0, 0, 0},
    {"fstype",          store_fstype,  {0},     0, 0, 0},
    {"hfsplussupport",  store_opts,    {0},     0, 0, 0},
@@ -506,38 +502,6 @@
 }
 
 
-/* Store reader info */
-static void store_reader(LEX *lc, RES_ITEM *item, int index, int pass)
-{
-   int token;
-
-   token = lex_get_token(lc, T_NAME);
-   if (pass == 1) {
-      /*
-       * Pickup reader command
-       */
-      res_incexe.current_opts->reader = bstrdup(lc->str);
-   }
-   scan_to_eol(lc);
-}
-
-/* Store writer innfo */
-static void store_writer(LEX *lc, RES_ITEM *item, int index, int pass)
-{
-   int token;
-
-   token = lex_get_token(lc, T_NAME);
-   if (pass == 1) {
-      /*
-       * Pickup writer command
-       */
-      res_incexe.current_opts->writer = bstrdup(lc->str);
-   }
-   scan_to_eol(lc);
-}
-
-
-
 /* Store Wild-card info */
 static void store_wild(LEX *lc, RES_ITEM *item, int index, int pass)
 {

Modified: trunk/bacula/technotes-2.5
===================================================================
--- trunk/bacula/technotes-2.5	2008-09-25 19:43:35 UTC (rev 7645)
+++ trunk/bacula/technotes-2.5	2008-09-25 19:52:12 UTC (rev 7646)
@@ -19,6 +19,7 @@
 
 General:
 25Sep08
+kes  Remove some old reader/writer code.
 kes  Implement ./configure --with-plugindir=xxx
 ebl  Fix the mysql bug in the new accurate code
 kes  Improve plugin debug. Create plugin test.


This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-commits mailing list
Bacula-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic