Index: trunk/doc/pslib/psLibSDRS.tex
===================================================================
--- trunk/doc/pslib/psLibSDRS.tex	(revision 4242)
+++ trunk/doc/pslib/psLibSDRS.tex	(revision 4244)
@@ -1,3 +1,3 @@
-%%% $Id: psLibSDRS.tex,v 1.276 2005-06-14 02:19:36 price Exp $
+%%% $Id: psLibSDRS.tex,v 1.277 2005-06-14 03:07:19 price Exp $
 \documentclass[panstarrs,spec]{panstarrs}
 
@@ -2024,5 +2024,5 @@
 psBitSet *psBitSetNot(psBitSet *outBitSet, const psBitSet *inBitSet);
 bool psBitSetTest(const psBitSet *bitSet, long bit);
-char *psBitSetToString(const psBitSet* bitSet);
+psString psBitSetToString(const psBitSet* bitSet);
 \end{prototype}
 
@@ -2168,5 +2168,5 @@
 typedef struct {
     const psS32 id;                     ///< unique ID for this item
-    char *name;                         ///< Name of item
+    psString name;                      ///< Name of item
     psDataType type;                    ///< type of this item
     const union {
@@ -2178,5 +2178,5 @@
         psPtr V;                        ///< other type
     } data;                             ///< value of metadata
-    char *comment;                      ///< optional comment ("", not NULL)
+    psString comment;                   ///< optional comment ("", not NULL)
 } psMetadataItem;
 \end{datatype}
@@ -2192,4 +2192,7 @@
 type of the data being represented, given by the enumerated type
 \code{psDataType}.
+
+Note that the \code{name} and \code{comment} must be allocated by the
+constructor using, e.g., \code{psStringCopy}.
 
 A collection of metadata is represented by the \code{psMetadata} structure:
@@ -2508,5 +2511,5 @@
 
 \begin{prototype}
-char *psMetadataConfigFormat(psMetadata *md);
+psString psMetadataConfigFormat(psMetadata *md);
 bool psMetadataConfigWrite(psMetadata *md, const char *filename);
 \end{prototype}
@@ -3183,5 +3186,5 @@
 psRegion psRegionSet(float x0, float x1, float y0, float y1);
 psRegion psRegionFromString(const char *region);
-char *psRegionToString(const psRegion region);
+psString psRegionToString(const psRegion region);
 \end{prototype}
 
@@ -3544,5 +3547,5 @@
 
 \begin{prototype}
-char *psFitsGetExtName(const psFits* fits);
+psString psFitsGetExtName(const psFits* fits);
 bool psFitsSetExtName(psFits* fits, const char* name);
 \end{prototype}
@@ -5510,5 +5513,5 @@
 double psTimeToJD(const psTime *time);
 double psTimeToMJD(const psTime *time);
-char *psTimeToISO(const psTime *time);
+psString psTimeToISO(const psTime *time);
 timeval *psTimeToTimeval(const psTime *time);
 \end{prototype}
