mirror of
https://github.com/postgres/postgres.git
synced 2025-12-16 16:42:29 +03:00
Massive commit to run PGINDENT on all *.c and *.h files.
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* stringinfo.h--
|
||||
* Declarations/definitons for "string" functions.
|
||||
* Declarations/definitons for "string" functions.
|
||||
*
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: stringinfo.h,v 1.2 1996/10/31 09:48:52 scrappy Exp $
|
||||
* $Id: stringinfo.h,v 1.3 1997/09/07 04:58:14 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -16,18 +16,19 @@
|
||||
|
||||
/*-------------------------
|
||||
* 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.
|
||||
* '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 struct StringInfoData
|
||||
{
|
||||
char *data;
|
||||
int maxlen;
|
||||
int len;
|
||||
} StringInfoData;
|
||||
|
||||
typedef StringInfoData *StringInfo;
|
||||
|
||||
@@ -41,6 +42,6 @@ extern StringInfo makeStringInfo(void);
|
||||
* appendStringInfo
|
||||
* similar to 'strcat' but reallocates more space if necessary...
|
||||
*/
|
||||
extern void appendStringInfo(StringInfo str, char *buffer);
|
||||
extern void appendStringInfo(StringInfo str, char *buffer);
|
||||
|
||||
#endif /* STRINGINFO_H */
|
||||
#endif /* STRINGINFO_H */
|
||||
|
||||
Reference in New Issue
Block a user