Lines Matching refs:state
138 #define PHP_STREAM_CRITICAL 3 /* an error occurred; origstream is in an unknown state; you should …
222 state in the stream.
228 itself, which holds some state information (and possibly a buffer) and a
313 For structured state you might have this:
320 struct my_state * state = pemalloc(sizeof(struct my_state), persistent);
322 /* initialize the connection, and run a query, using the fields in state to
325 state->result = mysql_use_result(&state->conn);
328 stream = php_stream_alloc(&my_ops, state, 0, persistent, "r");
330 /* now stream->abstract == state */
340 struct my_state * state = (struct my_state*)stream->abstract;
352 ... mysql_fetch_row(state->result) ...