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

/PHP_5_3/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
76 PHPAPI void php_stream_notification_free(php_stream_notifier *notifier);
101 #define php_stream_notify_info(context, code, xmsg, xcode) do { if ((context) && (context)->notifier) { \
105 #define php_stream_notify_progress(context, bsofar, bmax) do { if ((context) && (context)->notifier) { \
109 #define php_stream_notify_progress_init(context, sofar, bmax) do { if ((context) && (context)->notifier) { \
110 (context)->notifier->progress = (sofar); \
111 (context)->notifier->progress_max = (bmax); \
112 (context)->notifier->mask |= PHP_STREAM_NOTIFIER_PROGRESS; \
115 #define php_stream_notify_progress_increment(context, dsofar, dmax) do { if ((context) && (context)->notifier
[all...]
H A Dstreams.c2107 if (context && context->notifier)
2108 context->notifier->func(context, notifycode, severity, xmsg, xcode, bytes_sofar, bytes_max, ptr TSRMLS_CC);
2117 if (context->notifier) {
2118 php_stream_notification_free(context->notifier);
2119 context->notifier = NULL;
2133 context->notifier = NULL;
2146 PHPAPI void php_stream_notification_free(php_stream_notifier *notifier) argument
2148 if (notifier->dtor) {
2149 notifier->dtor(notifier);
[all...]
/PHP_5_3/ext/standard/
H A Dstreamsfuncs.c870 zval *callback = (zval*)context->notifier->ptr;
896 php_error_docref(NULL TSRMLS_CC, E_WARNING, "failed to call user notifier");
906 static void user_space_stream_notifier_dtor(php_stream_notifier *notifier) argument
908 if (notifier && notifier->ptr) {
909 zval_ptr_dtor((zval **)&(notifier->ptr));
910 notifier->ptr = NULL;
953 if (context->notifier) {
954 php_stream_notification_free(context->notifier);
955 context->notifier
[all...]

Completed in 8 milliseconds