Searched refs:notifier (Results 1 - 3 of 3) sorted by relevance

/PHP_5_5/ext/standard/
H A Dstreamsfuncs.c877 zval *callback = (zval*)context->notifier->ptr;
903 php_error_docref(NULL TSRMLS_CC, E_WARNING, "failed to call user notifier");
913 static void user_space_stream_notifier_dtor(php_stream_notifier *notifier) argument
915 if (notifier && notifier->ptr) {
916 zval_ptr_dtor((zval **)&(notifier->ptr));
917 notifier->ptr = NULL;
960 if (context->notifier) {
961 php_stream_notification_free(context->notifier);
962 context->notifier
[all...]
/PHP_5_5/main/streams/
H A Dphp_stream_context.h47 void (*dtor)(php_stream_notifier *notifier);
54 php_stream_notifier *notifier; member in struct:_php_stream_context
68 PHPAPI void php_stream_notification_free(php_stream_notifier *notifier);
93 #define php_stream_notify_info(context, code, xmsg, xcode) do { if ((context) && (context)->notifier) { \
97 #define php_stream_notify_progress(context, bsofar, bmax) do { if ((context) && (context)->notifier) { \
101 #define php_stream_notify_progress_init(context, sofar, bmax) do { if ((context) && (context)->notifier) { \
102 (context)->notifier->progress = (sofar); \
103 (context)->notifier->progress_max = (bmax); \
104 (context)->notifier->mask |= PHP_STREAM_NOTIFIER_PROGRESS; \
107 #define php_stream_notify_progress_increment(context, dsofar, dmax) do { if ((context) && (context)->notifier
[all...]
H A Dstreams.c2180 if (context && context->notifier)
2181 context->notifier->func(context, notifycode, severity, xmsg, xcode, bytes_sofar, bytes_max, ptr TSRMLS_CC);
2190 if (context->notifier) {
2191 php_stream_notification_free(context->notifier);
2192 context->notifier = NULL;
2202 context->notifier = NULL;
2215 PHPAPI void php_stream_notification_free(php_stream_notifier *notifier) argument
2217 if (notifier->dtor) {
2218 notifier->dtor(notifier);
[all...]

Completed in 9 milliseconds