]> git.mdlowis.com Git - projs/libcds.git/commitdiff
Remove erroneously added header
authorMichael D. Lowis <mike.lowis@gentex.com>
Wed, 3 Sep 2014 12:42:23 +0000 (08:42 -0400)
committerMichael D. Lowis <mike.lowis@gentex.com>
Wed, 3 Sep 2014 12:42:23 +0000 (08:42 -0400)
source/cursor/cursor.h [deleted file]

diff --git a/source/cursor/cursor.h b/source/cursor/cursor.h
deleted file mode 100644 (file)
index d23e797..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
-  @file cursor.h
-  @brief Generic cursor module for moving over data structures.
-  $Revision$
-  $HeadURL$
-  */
-#ifndef CURSOR_H
-#define CURSOR_H
-
-#include "mem.h"
-
-typedef enum {
-    FORWARD,
-    BACKWARD
-} advance_dir_t;
-
-typedef bool (*tester_t)(void* env, advance_dir_t dir);
-
-typedef void (*advancer_t)(void* env, advance_dir_t dir);
-
-typedef void* (*getter_t)(void* env);
-
-typedef void (*setter_t)(void* env, void* val);
-
-struct crsr_t;
-
-typedef struct crsr_t crsr_t;
-
-crsr_t* crsr_new(void* p_state, tester_t p_test, advancer_t p_advance, getter_t p_get, setter_t p_set);
-crsr_t* crsr_copy(crsr_t* p_crsr);
-void crsr_advance(crsr_t* p_crsr, int steps);
-void crsr_next(crsr_t* p_crsr);
-void crsr_prev(crsr_t* p_crsr);
-bool crsr_has_next(crsr_t* p_crsr);
-bool crsr_has_prev(crsr_t* p_crsr);
-void* crsr_get(crsr_t* p_crsr);
-void crsr_set(crsr_t* p_crsr, void* val);
-
-#endif /* CURSOR_H */