message: Intern file names in msg_location to make them cheaper to copy.
[pspp] / src / libpspp / intern.h
index 147a69a8bced253be9c747f70f4e0a94e1ae95f2..2192c66d8c650afa058a2b8bc0be896da2a2c2be 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPP - a program for statistical analysis.
-   Copyright (C) 2010 Free Software Foundation, Inc.
+   Copyright (C) 2010, 2011 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    See http://en.wikipedia.org/wiki/String_interning for more information. */
 
 #include <stdbool.h>
+#include <stddef.h>
 
 const char *intern_new (const char *);
+const char *intern_new_if_nonnull (const char *);
 const char *intern_ref (const char *);
+const char *intern_ref_if_nonnull (const char *);
 void intern_unref (const char *);
 
+size_t intern_strlen (const char *);
+
 bool is_interned_string (const char *);
 
 #endif /* libpspp/intern.h */