X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flibpspp%2Fintern.h;h=2192c66d8c650afa058a2b8bc0be896da2a2c2be;hb=08bfd1f8740fbf71e7d9671bb77ee9b234dbc9b8;hp=147a69a8bced253be9c747f70f4e0a94e1ae95f2;hpb=3e30fb40d64fcf006b327a5f81934c14ef842111;p=pspp diff --git a/src/libpspp/intern.h b/src/libpspp/intern.h index 147a69a8bc..2192c66d8c 100644 --- a/src/libpspp/intern.h +++ b/src/libpspp/intern.h @@ -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 @@ -31,11 +31,16 @@ See http://en.wikipedia.org/wiki/String_interning for more information. */ #include +#include 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 */