Lines Matching refs:NIL

279 	*tail = NIL;  in mail_free_foblist()
280 *foblist = NIL; in mail_free_foblist()
341 *tail = NIL; in mail_free_messagelist()
342 *msglist = NIL; in mail_free_messagelist()
399 imap_globals->imap_user = NIL; in PHP_GINIT_FUNCTION()
400 imap_globals->imap_password = NIL; in PHP_GINIT_FUNCTION()
402 imap_globals->imap_alertstack = NIL; in PHP_GINIT_FUNCTION()
403 imap_globals->imap_errorstack = NIL; in PHP_GINIT_FUNCTION()
405 imap_globals->imap_folders = NIL; in PHP_GINIT_FUNCTION()
406 imap_globals->imap_folders_tail = NIL; in PHP_GINIT_FUNCTION()
407 imap_globals->imap_sfolders = NIL; in PHP_GINIT_FUNCTION()
408 imap_globals->imap_sfolders_tail = NIL; in PHP_GINIT_FUNCTION()
409 imap_globals->imap_messages = NIL; in PHP_GINIT_FUNCTION()
410 imap_globals->imap_messages_tail = NIL; in PHP_GINIT_FUNCTION()
411 imap_globals->imap_folder_objects = NIL; in PHP_GINIT_FUNCTION()
412 imap_globals->imap_folder_objects_tail = NIL; in PHP_GINIT_FUNCTION()
413 imap_globals->imap_sfolder_objects = NIL; in PHP_GINIT_FUNCTION()
414 imap_globals->imap_sfolder_objects_tail = NIL; in PHP_GINIT_FUNCTION()
418 imap_globals->quota_return = NIL; in PHP_GINIT_FUNCTION()
419 imap_globals->imap_acl_list = NIL; in PHP_GINIT_FUNCTION()
421 imap_globals->gets_stream = NIL; in PHP_GINIT_FUNCTION()
471 mail_parameters(NIL, SET_GETS, (void *) NIL); in PHP_MINIT_FUNCTION()
474 mail_parameters(NIL, SET_OPENTIMEOUT, (void *) FG(default_socket_timeout)); in PHP_MINIT_FUNCTION()
475 mail_parameters(NIL, SET_READTIMEOUT, (void *) FG(default_socket_timeout)); in PHP_MINIT_FUNCTION()
476 mail_parameters(NIL, SET_WRITETIMEOUT, (void *) FG(default_socket_timeout)); in PHP_MINIT_FUNCTION()
477 mail_parameters(NIL, SET_CLOSETIMEOUT, (void *) FG(default_socket_timeout)); in PHP_MINIT_FUNCTION()
481 mail_parameters (NIL, SET_RSHTIMEOUT, 0); in PHP_MINIT_FUNCTION()
482 mail_parameters (NIL, SET_SSHTIMEOUT, 0); in PHP_MINIT_FUNCTION()
492 IMAPG(imap_errorstack) = NIL; in PHP_RINIT_FUNCTION()
493 IMAPG(imap_alertstack) = NIL; in PHP_RINIT_FUNCTION()
494 IMAPG(gets_stream) = NIL; in PHP_RINIT_FUNCTION()
501 ERRORLIST *ecur = NIL; in free_errorlist()
503 if (IMAPG(imap_errorstack) != NIL) { in free_errorlist()
508 while (ecur != NIL) { in free_errorlist()
515 IMAPG(imap_errorstack) = NIL; in free_errorlist()
521 STRINGLIST *acur = NIL; in free_stringlist()
523 if (IMAPG(imap_alertstack) != NIL) { in free_stringlist()
528 while (acur != NIL) { in free_stringlist()
535 IMAPG(imap_alertstack) = NIL; in free_stringlist()
631 mail_parameters(NIL, DISABLE_AUTHENTICATOR, (void *)Z_STRVAL_P(disabled_auth_method)); in PHP_FUNCTION()
647 mail_parameters(NIL, DISABLE_AUTHENTICATOR, (void *)Z_STRVAL_P(z_auth_method)); in PHP_FUNCTION()
684 mail_parameters(NIL, SET_MAXLOGINTRIALS, (void *) retries); in PHP_FUNCTION()
689 imap_stream = mail_open(NIL, ZSTR_VAL(mailbox), flags); in PHP_FUNCTION()
692 if (imap_stream == NIL) { in PHP_FUNCTION()
747 mail_parameters(NIL, SET_MAXLOGINTRIALS, (void *) retries); in PHP_FUNCTION()
756 if (imap_conn_struct->imap_stream == NIL) { in PHP_FUNCTION()
824 …eam, ZSTR_VAL(folder), (flags ? ZSTR_VAL(flags) : NIL), (internal_date ? ZSTR_VAL(internal_date) :… in PHP_FUNCTION()
898 mail_parameters(NIL, SET_QUOTA, (void *) mail_getquota); in PHP_FUNCTION()
924 mail_parameters(NIL, SET_QUOTA, (void *) mail_getquota); in PHP_FUNCTION()
950 limits.next = NIL; in PHP_FUNCTION()
992 mail_parameters(NIL, SET_ACL, (void *) mail_getacl); in PHP_FUNCTION()
999 IMAPG(imap_acl_list) = NIL; in PHP_FUNCTION()
1107 mail_fetchstructure(imap_conn_struct->imap_stream, msgno, NIL); in PHP_FUNCTION()
1296 STRINGLIST *cur=NIL; in PHP_FUNCTION()
1307 IMAPG(imap_folders) = IMAPG(imap_folders_tail) = NIL; in PHP_FUNCTION()
1309 if (IMAPG(imap_folders) == NIL) { in PHP_FUNCTION()
1315 while (cur != NIL) { in PHP_FUNCTION()
1320 IMAPG(imap_folders) = IMAPG(imap_folders_tail) = NIL; in PHP_FUNCTION()
1359 FOBJECTLIST *cur=NIL; in PHP_FUNCTION()
1370 IMAPG(imap_folder_objects) = IMAPG(imap_folder_objects_tail) = NIL; in PHP_FUNCTION()
1372 if (IMAPG(imap_folder_objects) == NIL) { in PHP_FUNCTION()
1378 while (cur != NIL) { in PHP_FUNCTION()
1396 STRINGLIST *cur=NIL; in PHP_FUNCTION()
1404 IMAPG(imap_folders) = NIL; in PHP_FUNCTION()
1406 if (IMAPG(imap_folders) == NIL) { in PHP_FUNCTION()
1412 while (cur != NIL) { in PHP_FUNCTION()
1417 IMAPG(imap_folders) = IMAPG(imap_folders_tail) = NIL; in PHP_FUNCTION()
1465 if (mail_ping (imap_conn_struct->imap_stream) == NIL) { in PHP_FUNCTION()
1557 if (mail_fetchstructure(imap_conn_struct->imap_stream, msgno, NIL)) { in PHP_FUNCTION()
1663 …fc822_parse_msg(&en, NULL, ZSTR_VAL(headers), ZSTR_LEN(headers), NULL, ZSTR_VAL(defaulthost), NIL); in PHP_FUNCTION()
1665 rfc822_parse_msg(&en, NULL, ZSTR_VAL(headers), ZSTR_LEN(headers), NULL, "UNKNOWN", NIL); in PHP_FUNCTION()
1682 STRINGLIST *cur=NIL; in PHP_FUNCTION()
1693 IMAPG(imap_sfolders) = NIL; in PHP_FUNCTION()
1697 if (IMAPG(imap_sfolders) == NIL) { in PHP_FUNCTION()
1703 while (cur != NIL) { in PHP_FUNCTION()
1708 IMAPG(imap_sfolders) = IMAPG(imap_sfolders_tail) = NIL; in PHP_FUNCTION()
1719 FOBJECTLIST *cur=NIL; in PHP_FUNCTION()
1730 IMAPG(imap_sfolder_objects) = IMAPG(imap_sfolder_objects_tail) = NIL; in PHP_FUNCTION()
1734 if (IMAPG(imap_sfolder_objects) == NIL) { in PHP_FUNCTION()
1740 while (cur != NIL) { in PHP_FUNCTION()
1952 mail_parameters(NIL, SET_GETS, (void *) php_mail_gets); in PHP_FUNCTION()
1954 mail_parameters(NIL, SET_GETS, (void *) NULL); in PHP_FUNCTION()
2072 mail_fetchstructure (imap_conn_struct->imap_stream, msgno, NIL); in PHP_FUNCTION()
2128 addr->next=NIL; in PHP_FUNCTION()
2129 addr->error=NIL; in PHP_FUNCTION()
2130 addr->adl=NIL; in PHP_FUNCTION()
2541 if (out == NIL) { in php_imap_mutf7()
2584 …lag_full(imap_conn_struct->imap_stream, ZSTR_VAL(sequence), ZSTR_VAL(flag), (flags ? flags : NIL)); in PHP_FUNCTION()
2623 SORTPGM *mypgm=NIL; in PHP_FUNCTION()
2624 SEARCHPGM *spg=NIL; in PHP_FUNCTION()
2650 if (spg == NIL) { in PHP_FUNCTION()
2657 mypgm->next = NIL; in PHP_FUNCTION()
2659 …slst = mail_sort(imap_conn_struct->imap_stream, (charset ? ZSTR_VAL(charset) : NIL), spg, mypgm, f… in PHP_FUNCTION()
2698 RETVAL_STRING(mail_fetchheader_full(imap_conn_struct->imap_stream, msgno, NIL, NIL, flags)); in PHP_FUNCTION()
3091 env = mail_fetch_structure(imap_conn_struct->imap_stream, i, NIL, NIL); in PHP_FUNCTION()
3219 char *cookie = NIL; in PHP_FUNCTION()
3900 SEARCHPGM *pgm = NIL; in PHP_FUNCTION()
3916 IMAPG(imap_messages) = IMAPG(imap_messages_tail) = NIL; in PHP_FUNCTION()
3919 mail_search_full(imap_conn_struct->imap_stream, (charset ? ZSTR_VAL(charset) : NIL), pgm, flags); in PHP_FUNCTION()
3925 if (IMAPG(imap_messages) == NIL) { in PHP_FUNCTION()
3933 while (cur != NIL) { in PHP_FUNCTION()
3946 STRINGLIST *cur=NIL; in PHP_FUNCTION()
3952 if (IMAPG(imap_alertstack) == NIL) { in PHP_FUNCTION()
3959 while (cur != NIL) { in PHP_FUNCTION()
3964 IMAPG(imap_alertstack) = NIL; in PHP_FUNCTION()
3972 ERRORLIST *cur=NIL; in PHP_FUNCTION()
3978 if (IMAPG(imap_errorstack) == NIL) { in PHP_FUNCTION()
3985 while (cur != NIL) { in PHP_FUNCTION()
3990 IMAPG(imap_errorstack) = NIL; in PHP_FUNCTION()
3998 ERRORLIST *cur=NIL; in PHP_FUNCTION()
4004 if (IMAPG(imap_errorstack) == NIL) { in PHP_FUNCTION()
4009 while (cur != NIL) { in PHP_FUNCTION()
4010 if (cur->next == NIL) { in PHP_FUNCTION()
4452 SEARCHPGM *pgm = NIL; in PHP_FUNCTION()
4463 top = mail_thread(imap_conn_struct->imap_stream, "REFERENCES", NIL, pgm, flags); in PHP_FUNCTION()
4468 if (top == NIL) { in PHP_FUNCTION()
4511 timeout = (zend_long) mail_parameters(NIL, timeout_type, NIL); in PHP_FUNCTION()
4532 timeout = (zend_long) mail_parameters(NIL, timeout_type, (void *) timeout); in PHP_FUNCTION()
4587 MESSAGELIST *cur = NIL; in mm_searched()
4589 if (IMAPG(imap_messages) == NIL) { in mm_searched()
4592 IMAPG(imap_messages)->next = NIL; in mm_searched()
4599 cur->next = NIL; in mm_searched()
4619 STRINGLIST *cur = NIL; in mm_notify()
4622 if (IMAPG(imap_alertstack) == NIL) { in mm_notify()
4625 IMAPG(imap_alertstack)->next = NIL; in mm_notify()
4628 while (cur->next != NIL) { in mm_notify()
4634 cur->next = NIL; in mm_notify()
4641 STRINGLIST *cur=NIL; in mm_list()
4642 FOBJECTLIST *ocur=NIL; in mm_list()
4647 if (IMAPG(imap_folder_objects) == NIL) { in mm_list()
4652 IMAPG(imap_folder_objects)->next = NIL; in mm_list()
4661 ocur->next = NIL; in mm_list()
4668 if (IMAPG(imap_folders) == NIL) { in mm_list()
4671 IMAPG(imap_folders)->next=NIL; in mm_list()
4678 cur->next = NIL; in mm_list()
4687 STRINGLIST *cur=NIL; in mm_lsub()
4688 FOBJECTLIST *ocur=NIL; in mm_lsub()
4693 if (IMAPG(imap_sfolder_objects) == NIL) { in mm_lsub()
4698 IMAPG(imap_sfolder_objects)->next = NIL; in mm_lsub()
4707 ocur->next = NIL; in mm_lsub()
4712 if (IMAPG(imap_sfolders) == NIL) { in mm_lsub()
4715 IMAPG(imap_sfolders)->next=NIL; in mm_lsub()
4722 cur->next = NIL; in mm_lsub()
4751 ERRORLIST *cur = NIL; in mm_log()
4754 …if (errflg != NIL) { /* CJH: maybe put these into a more comprehensive log for debugging purposes?… in mm_log()
4755 if (IMAPG(imap_errorstack) == NIL) { in mm_log()
4759 IMAPG(imap_errorstack)->next = NIL; in mm_log()
4762 while (cur->next != NIL) { in mm_log()
4769 cur->next = NIL; in mm_log()