summaryrefslogtreecommitdiff
path: root/subversion/libsvn_wc/token-map.h
diff options
context:
space:
mode:
Diffstat (limited to 'subversion/libsvn_wc/token-map.h')
-rw-r--r--subversion/libsvn_wc/token-map.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/subversion/libsvn_wc/token-map.h b/subversion/libsvn_wc/token-map.h
index 9da12b8..9bf80d6 100644
--- a/subversion/libsvn_wc/token-map.h
+++ b/subversion/libsvn_wc/token-map.h
@@ -33,6 +33,7 @@
extern "C" {
#endif
+/* The kind values used on NODES */
static const svn_token_map_t kind_map[] = {
{ "file", svn_node_file }, /* MAP_FILE */
{ "dir", svn_node_dir }, /* MAP_DIR */
@@ -41,6 +42,16 @@ static const svn_token_map_t kind_map[] = {
{ NULL }
};
+/* Like kind_map, but also supports 'none' */
+static const svn_token_map_t kind_map_none[] = {
+ { "none", svn_node_none },
+ { "file", svn_node_file },
+ { "dir", svn_node_dir },
+ { "symlink", svn_node_symlink },
+ { "unknown", svn_node_unknown },
+ { NULL }
+};
+
/* Note: we only decode presence values from the database. These are a
subset of all the status values. */
static const svn_token_map_t presence_map[] = {