Lines Matching defs:sqlite3_str
1237 ** should be an initialized [sqlite3_str] pointer. JSON text describing
1238 ** various aspects of the sqlite3_file object is appended to the sqlite3_str.
8780 ** An instance of the sqlite3_str object contains a dynamically-sized
8783 ** The lifecycle of an sqlite3_str object is as follows:
8785 ** <li> ^The sqlite3_str object is created using [sqlite3_str_new()].
8786 ** <li> ^Text is appended to the sqlite3_str object using various
8788 ** <li> ^The sqlite3_str object is destroyed and the string it created
8792 typedef struct sqlite3_str sqlite3_str;
8796 ** CONSTRUCTOR: sqlite3_str
8799 ** a new [sqlite3_str] object. To avoid memory leaks, the object returned by
8804 ** valid [sqlite3_str] object, though in the event of an out-of-memory
8810 ** returned by [sqlite3_str_new(D)] as the sqlite3_str parameter
8811 ** to any of the other [sqlite3_str] methods.
8815 ** length of the string contained in the [sqlite3_str] object will be
8819 SQLITE_API sqlite3_str *sqlite3_str_new(sqlite3*);
8823 ** DESTRUCTOR: sqlite3_str
8825 ** ^The [sqlite3_str_finish(X)] interface destroys the sqlite3_str object X
8832 ** string in [sqlite3_str] object X is zero bytes long.
8834 ** ^The [sqlite3_str_free(X)] interface destroys both the sqlite3_str object
8838 SQLITE_API char *sqlite3_str_finish(sqlite3_str*);
8839 SQLITE_API void sqlite3_str_free(sqlite3_str*);
8843 ** METHOD: sqlite3_str
8845 ** These interfaces add or remove content to an sqlite3_str object
8851 ** [sqlite3_str] object X.
8854 ** onto the end of the [sqlite3_str] object X. N must be non-negative.
8860 ** zero-terminated string S onto the end of [sqlite3_str] object X.
8863 ** single-byte character C onto the end of [sqlite3_str] object X.
8867 ** inside [sqlite3_str] object X back to zero bytes in length.
8874 ** is recorded in the [sqlite3_str] object and can be recovered by a
8877 SQLITE_API void sqlite3_str_appendf(sqlite3_str*, const char *zFormat, ...);
8878 SQLITE_API void sqlite3_str_vappendf(sqlite3_str*, const char *zFormat, va_list);
8879 SQLITE_API void sqlite3_str_append(sqlite3_str*, const char *zIn, int N);
8880 SQLITE_API void sqlite3_str_appendall(sqlite3_str*, const char *zIn);
8881 SQLITE_API void sqlite3_str_appendchar(sqlite3_str*, int N, char C);
8882 SQLITE_API void sqlite3_str_reset(sqlite3_str*);
8883 SQLITE_API void sqlite3_str_truncate(sqlite3_str*,int N);
8887 ** METHOD: sqlite3_str
8889 ** These interfaces return the current status of an [sqlite3_str] object.
8892 ** in sqlite3_str X, then the [sqlite3_str_errcode(X)] method will return
8899 ** of the dynamic string under construction in [sqlite3_str] object X.
8905 ** returned by [sqlite3_str_value(X)] is managed by the sqlite3_str object X
8907 ** [sqlite3_str] object. Applications must not use the pointer returned by
8912 ** write any byte after any subsequent sqlite3_str method call.
8914 SQLITE_API int sqlite3_str_errcode(sqlite3_str*);
8915 SQLITE_API int sqlite3_str_length(sqlite3_str*);
8916 SQLITE_API char *sqlite3_str_value(sqlite3_str*);