projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lex_get_text_buffer_read: Avoid potential buffer overflow.
[pspp]
/
src
/
libpspp
/
intern.h
diff --git
a/src/libpspp/intern.h
b/src/libpspp/intern.h
index 147a69a8bced253be9c747f70f4e0a94e1ae95f2..2f07a9ef77808b17f19e85adc2ffc9dc8d024262 100644
(file)
--- a/
src/libpspp/intern.h
+++ b/
src/libpspp/intern.h
@@
-1,5
+1,5
@@
/* PSPP - a program for statistical analysis.
/* 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
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
@@
-31,11
+31,14
@@
See http://en.wikipedia.org/wiki/String_interning for more information. */
#include <stdbool.h>
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_ref (const char *);
void intern_unref (const char *);
const char *intern_new (const char *);
const char *intern_ref (const char *);
void intern_unref (const char *);
+size_t intern_strlen (const char *);
+
bool is_interned_string (const char *);
#endif /* libpspp/intern.h */
bool is_interned_string (const char *);
#endif /* libpspp/intern.h */