Updated the exclude-list code to handle the new linked-list
[rsync/rsync.git] / t_stub.c
index 88b697e..7a93036 100644 (file)
--- a/t_stub.c
+++ b/t_stub.c
@@ -27,6 +27,7 @@
  **/
 
 int modify_window = 0;
+int module_id = -1;
 struct exclude_struct **server_exclude_list;
 
  void rprintf(UNUSED(enum logcode code), const char *format, ...)
@@ -45,9 +46,25 @@ struct exclude_struct **server_exclude_list;
 }
 
  int check_exclude(UNUSED(struct exclude_struct **list), UNUSED(char *name),
-                  UNUSED(int name_is_dir))
+                  UNUSED(int name_is_dir), UNUSED(const char *type))
 {
        /* This function doesn't really get called in this test context, so
         * just return 0. */
        return 0;
 }
+
+ char *lp_name(UNUSED(int mod))
+{
+    return NULL;
+}
+
+ BOOL lp_use_chroot(UNUSED(int mod))
+{
+    return 0;
+}
+
+ char *lp_path(UNUSED(int mod))
+{
+    return NULL;
+}
+