summaryrefslogtreecommitdiff
path: root/src/backend/lib/stringinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/lib/stringinfo.h')
-rw-r--r--src/backend/lib/stringinfo.h47
1 files changed, 0 insertions, 47 deletions
diff --git a/src/backend/lib/stringinfo.h b/src/backend/lib/stringinfo.h
deleted file mode 100644
index 717f2ad598..0000000000
--- a/src/backend/lib/stringinfo.h
+++ /dev/null
@@ -1,47 +0,0 @@
-/*-------------------------------------------------------------------------
- *
- * stringinfo.h--
- * Declarations/definitons for "string" functions.
- *
- *
- * Copyright (c) 1994, Regents of the University of California
- *
- * $Id: stringinfo.h,v 1.1.1.1 1996/07/09 06:21:29 scrappy Exp $
- *
- *-------------------------------------------------------------------------
- */
-#ifndef STRINGINFO_H
-#define STRINGINFO_H
-
-/*#include "c.h" */ /* for 'String' */
-
-/*-------------------------
- * StringInfoData holds information about a string.
- * 'data' is the string.
- * 'len' is the current string length (as returned by 'strlen')
- * 'maxlen' is the size in bytes of 'data', i.e. the maximum string
- * size (includeing the terminating '\0' char) that we can
- * currently store in 'data' without having to reallocate
- * more space.
- */
-typedef struct StringInfoData {
- char *data;
- int maxlen;
- int len;
-} StringInfoData;
-
-typedef StringInfoData *StringInfo;
-
-/*------------------------
- * makeStringInfo
- * create a 'StringInfoData' & return a pointer to it.
- */
-extern StringInfo makeStringInfo(void);
-
-/*------------------------
- * appendStringInfo
- * similar to 'strcat' but reallocates more space if necessary...
- */
-extern void appendStringInfo(StringInfo str, char *buffer);
-
-#endif /* STRINGINFO_H */