summaryrefslogtreecommitdiff
path: root/support/texlab/crates/bibutils_sys/src/name.h
diff options
context:
space:
mode:
Diffstat (limited to 'support/texlab/crates/bibutils_sys/src/name.h')
-rw-r--r--support/texlab/crates/bibutils_sys/src/name.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/support/texlab/crates/bibutils_sys/src/name.h b/support/texlab/crates/bibutils_sys/src/name.h
new file mode 100644
index 0000000000..cd501fcbfd
--- /dev/null
+++ b/support/texlab/crates/bibutils_sys/src/name.h
@@ -0,0 +1,26 @@
+/*
+ * name.h
+ *
+ * mangle names w/ and w/o commas
+ *
+ * Copyright (c) Chris Putnam 2004-2019
+ *
+ * Source code released under the GPL version 2
+ *
+ */
+#ifndef NAME_H
+#define NAME_H
+
+#include "str.h"
+#include "slist.h"
+#include "fields.h"
+
+int name_add( fields *info, const char *tag, const char *q, int level, slist *asis, slist *corps );
+void name_build_withcomma( str *s, const char *p );
+int name_parse( str *outname, str *inname, slist *asis, slist *corps );
+int name_addsingleelement( fields *info, const char *tag, const char *name, int level, int corp );
+int name_addmultielement( fields *info, const char *tag, slist *tokens, int begin, int end, int level );
+int name_findetal( slist *tokens );
+
+#endif
+