projects
/
m6w6
/
ext-pq
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
prefix internal API; ensure raphf is built first in-tree
[m6w6/ext-pq]
/
src
/
php_pq_misc.h
diff --git
a/src/php_pq_misc.h
b/src/php_pq_misc.h
index 5bf81601b2d52f8145de9d7accee433c5989e506..9967f1f78e73d362b1d6be8fa1382d86f6812cc0 100644
(file)
--- a/
src/php_pq_misc.h
+++ b/
src/php_pq_misc.h
@@
-28,13
+28,13
@@
typedef int STATUS; /* SUCCESS/FAILURE */
#endif
/* trim LF from EOL */
#endif
/* trim LF from EOL */
-char *rtrim(char *e);
+char *
php_pq_
rtrim(char *e);
/* R, W, RW */
/* R, W, RW */
-const char *strmode(long mode);
+const char *
php_pq_
strmode(long mode);
/* compare array index */
/* compare array index */
-int compare_index(const void *lptr, const void *rptr TSRMLS_DC);
+int
php_pq_
compare_index(const void *lptr, const void *rptr TSRMLS_DC);
#define PHP_PQerrorMessage(c) rtrim(PQerrorMessage((c)))
#define PHP_PQresultErrorMessage(r) rtrim(PQresultErrorMessage((r)))
#define PHP_PQerrorMessage(c) rtrim(PQerrorMessage((c)))
#define PHP_PQresultErrorMessage(r) rtrim(PQresultErrorMessage((r)))
@@
-47,6
+47,7
@@
zend_class_entry *php_pqconv_class_entry;
HashTable *php_pq_parse_array(php_pqres_t *res, const char *val_str, size_t val_len, Oid typ TSRMLS_DC);
HashTable *php_pq_parse_array(php_pqres_t *res, const char *val_str, size_t val_len, Oid typ TSRMLS_DC);
+
PHP_MINIT_FUNCTION(pq_misc);
#endif
PHP_MINIT_FUNCTION(pq_misc);
#endif