Lines Matching refs:NIL
308 *tail = NIL; in mail_free_foblist()
309 *foblist = NIL; in mail_free_foblist()
370 *tail = NIL; in mail_free_messagelist()
371 *msglist = NIL; in mail_free_messagelist()
428 imap_globals->imap_user = NIL; in PHP_GINIT_FUNCTION()
429 imap_globals->imap_password = NIL; in PHP_GINIT_FUNCTION()
431 imap_globals->imap_alertstack = NIL; in PHP_GINIT_FUNCTION()
432 imap_globals->imap_errorstack = NIL; in PHP_GINIT_FUNCTION()
434 imap_globals->imap_folders = NIL; in PHP_GINIT_FUNCTION()
435 imap_globals->imap_folders_tail = NIL; in PHP_GINIT_FUNCTION()
436 imap_globals->imap_sfolders = NIL; in PHP_GINIT_FUNCTION()
437 imap_globals->imap_sfolders_tail = NIL; in PHP_GINIT_FUNCTION()
438 imap_globals->imap_messages = NIL; in PHP_GINIT_FUNCTION()
439 imap_globals->imap_messages_tail = NIL; in PHP_GINIT_FUNCTION()
440 imap_globals->imap_folder_objects = NIL; in PHP_GINIT_FUNCTION()
441 imap_globals->imap_folder_objects_tail = NIL; in PHP_GINIT_FUNCTION()
442 imap_globals->imap_sfolder_objects = NIL; in PHP_GINIT_FUNCTION()
443 imap_globals->imap_sfolder_objects_tail = NIL; in PHP_GINIT_FUNCTION()
447 imap_globals->quota_return = NIL; in PHP_GINIT_FUNCTION()
448 imap_globals->imap_acl_list = NIL; in PHP_GINIT_FUNCTION()
450 imap_globals->gets_stream = NIL; in PHP_GINIT_FUNCTION()
500 mail_parameters(NIL, SET_GETS, (void *) NIL); in PHP_MINIT_FUNCTION()
503 mail_parameters(NIL, SET_OPENTIMEOUT, (void *) FG(default_socket_timeout)); in PHP_MINIT_FUNCTION()
504 mail_parameters(NIL, SET_READTIMEOUT, (void *) FG(default_socket_timeout)); in PHP_MINIT_FUNCTION()
505 mail_parameters(NIL, SET_WRITETIMEOUT, (void *) FG(default_socket_timeout)); in PHP_MINIT_FUNCTION()
506 mail_parameters(NIL, SET_CLOSETIMEOUT, (void *) FG(default_socket_timeout)); in PHP_MINIT_FUNCTION()
510 mail_parameters (NIL, SET_RSHTIMEOUT, 0); in PHP_MINIT_FUNCTION()
511 mail_parameters (NIL, SET_SSHTIMEOUT, 0); in PHP_MINIT_FUNCTION()
521 IMAPG(imap_errorstack) = NIL; in PHP_RINIT_FUNCTION()
522 IMAPG(imap_alertstack) = NIL; in PHP_RINIT_FUNCTION()
523 IMAPG(gets_stream) = NIL; in PHP_RINIT_FUNCTION()
531 ERRORLIST *ecur = NIL; in PHP_RSHUTDOWN_FUNCTION()
532 STRINGLIST *acur = NIL; in PHP_RSHUTDOWN_FUNCTION()
534 if (IMAPG(imap_errorstack) != NIL) { in PHP_RSHUTDOWN_FUNCTION()
539 while (ecur != NIL) { in PHP_RSHUTDOWN_FUNCTION()
546 IMAPG(imap_errorstack) = NIL; in PHP_RSHUTDOWN_FUNCTION()
549 if (IMAPG(imap_alertstack) != NIL) { in PHP_RSHUTDOWN_FUNCTION()
554 while (acur != NIL) { in PHP_RSHUTDOWN_FUNCTION()
561 IMAPG(imap_alertstack) = NIL; in PHP_RSHUTDOWN_FUNCTION()
650 mail_parameters(NIL, DISABLE_AUTHENTICATOR, (void *)Z_STRVAL_P(disabled_auth_method)); in PHP_FUNCTION()
666 mail_parameters(NIL, DISABLE_AUTHENTICATOR, (void *)Z_STRVAL_P(z_auth_method)); in PHP_FUNCTION()
703 mail_parameters(NIL, SET_MAXLOGINTRIALS, (void *) retries); in PHP_FUNCTION()
708 imap_stream = mail_open(NIL, ZSTR_VAL(mailbox), flags); in PHP_FUNCTION()
711 if (imap_stream == NIL) { in PHP_FUNCTION()
766 mail_parameters(NIL, SET_MAXLOGINTRIALS, (void *) retries); in PHP_FUNCTION()
775 if (imap_conn_struct->imap_stream == NIL) { in PHP_FUNCTION()
843 …eam, ZSTR_VAL(folder), (flags ? ZSTR_VAL(flags) : NIL), (internal_date ? ZSTR_VAL(internal_date) :… in PHP_FUNCTION()
917 mail_parameters(NIL, SET_QUOTA, (void *) mail_getquota); in PHP_FUNCTION()
943 mail_parameters(NIL, SET_QUOTA, (void *) mail_getquota); in PHP_FUNCTION()
969 limits.next = NIL; in PHP_FUNCTION()
1011 mail_parameters(NIL, SET_ACL, (void *) mail_getacl); in PHP_FUNCTION()
1018 IMAPG(imap_acl_list) = NIL; in PHP_FUNCTION()
1126 mail_fetchstructure(imap_conn_struct->imap_stream, msgno, NIL); in PHP_FUNCTION()
1315 STRINGLIST *cur=NIL; in PHP_FUNCTION()
1326 IMAPG(imap_folders) = IMAPG(imap_folders_tail) = NIL; in PHP_FUNCTION()
1328 if (IMAPG(imap_folders) == NIL) { in PHP_FUNCTION()
1334 while (cur != NIL) { in PHP_FUNCTION()
1339 IMAPG(imap_folders) = IMAPG(imap_folders_tail) = NIL; in PHP_FUNCTION()
1351 FOBJECTLIST *cur=NIL; in PHP_FUNCTION()
1352 char *delim=NIL; in PHP_FUNCTION()
1363 IMAPG(imap_folder_objects) = IMAPG(imap_folder_objects_tail) = NIL; in PHP_FUNCTION()
1365 if (IMAPG(imap_folder_objects) == NIL) { in PHP_FUNCTION()
1372 while (cur != NIL) { in PHP_FUNCTION()
1398 STRINGLIST *cur=NIL; in PHP_FUNCTION()
1406 IMAPG(imap_folders) = NIL; in PHP_FUNCTION()
1408 if (IMAPG(imap_folders) == NIL) { in PHP_FUNCTION()
1414 while (cur != NIL) { in PHP_FUNCTION()
1419 IMAPG(imap_folders) = IMAPG(imap_folders_tail) = NIL; in PHP_FUNCTION()
1437 if (mail_ping (imap_conn_struct->imap_stream) == NIL) { in PHP_FUNCTION()
1534 if (mail_fetchstructure(imap_conn_struct->imap_stream, msgno, NIL)) { in PHP_FUNCTION()
1590 …fc822_parse_msg(&en, NULL, ZSTR_VAL(headers), ZSTR_LEN(headers), NULL, ZSTR_VAL(defaulthost), NIL); in PHP_FUNCTION()
1592 rfc822_parse_msg(&en, NULL, ZSTR_VAL(headers), ZSTR_LEN(headers), NULL, "UNKNOWN", NIL); in PHP_FUNCTION()
1609 STRINGLIST *cur=NIL; in PHP_FUNCTION()
1620 IMAPG(imap_sfolders) = NIL; in PHP_FUNCTION()
1624 if (IMAPG(imap_sfolders) == NIL) { in PHP_FUNCTION()
1630 while (cur != NIL) { in PHP_FUNCTION()
1635 IMAPG(imap_sfolders) = IMAPG(imap_sfolders_tail) = NIL; in PHP_FUNCTION()
1646 FOBJECTLIST *cur=NIL; in PHP_FUNCTION()
1647 char *delim=NIL; in PHP_FUNCTION()
1658 IMAPG(imap_sfolder_objects) = IMAPG(imap_sfolder_objects_tail) = NIL; in PHP_FUNCTION()
1662 if (IMAPG(imap_sfolder_objects) == NIL) { in PHP_FUNCTION()
1669 while (cur != NIL) { in PHP_FUNCTION()
1888 mail_parameters(NIL, SET_GETS, (void *) php_mail_gets); in PHP_FUNCTION()
1890 mail_parameters(NIL, SET_GETS, (void *) NULL); in PHP_FUNCTION()
2009 mail_fetchstructure (imap_conn_struct->imap_stream, msgno, NIL); in PHP_FUNCTION()
2057 addr->next=NIL; in PHP_FUNCTION()
2058 addr->error=NIL; in PHP_FUNCTION()
2059 addr->adl=NIL; in PHP_FUNCTION()
2442 if (out == NIL) { in php_imap_mutf7()
2485 …lag_full(imap_conn_struct->imap_stream, ZSTR_VAL(sequence), ZSTR_VAL(flag), (flags ? flags : NIL)); in PHP_FUNCTION()
2524 SORTPGM *mypgm=NIL; in PHP_FUNCTION()
2525 SEARCHPGM *spg=NIL; in PHP_FUNCTION()
2551 if (spg == NIL) { in PHP_FUNCTION()
2558 mypgm->next = NIL; in PHP_FUNCTION()
2560 …slst = mail_sort(imap_conn_struct->imap_stream, (charset ? ZSTR_VAL(charset) : NIL), spg, mypgm, f… in PHP_FUNCTION()
2599 RETVAL_STRING(mail_fetchheader_full(imap_conn_struct->imap_stream, msgno, NIL, NIL, flags)); in PHP_FUNCTION()
2829 (env = mail_fetch_structure (imap_conn_struct->imap_stream, i, NIL, NIL))) { in PHP_FUNCTION()
2900 char *cookie = NIL; in PHP_FUNCTION()
3582 SEARCHPGM *pgm = NIL; in PHP_FUNCTION()
3598 IMAPG(imap_messages) = IMAPG(imap_messages_tail) = NIL; in PHP_FUNCTION()
3601 mail_search_full(imap_conn_struct->imap_stream, (argc == 4 ? ZSTR_VAL(charset) : NIL), pgm, flags); in PHP_FUNCTION()
3607 if (IMAPG(imap_messages) == NIL) { in PHP_FUNCTION()
3615 while (cur != NIL) { in PHP_FUNCTION()
3628 STRINGLIST *cur=NIL; in PHP_FUNCTION()
3634 if (IMAPG(imap_alertstack) == NIL) { in PHP_FUNCTION()
3641 while (cur != NIL) { in PHP_FUNCTION()
3646 IMAPG(imap_alertstack) = NIL; in PHP_FUNCTION()
3654 ERRORLIST *cur=NIL; in PHP_FUNCTION()
3660 if (IMAPG(imap_errorstack) == NIL) { in PHP_FUNCTION()
3667 while (cur != NIL) { in PHP_FUNCTION()
3672 IMAPG(imap_errorstack) = NIL; in PHP_FUNCTION()
3680 ERRORLIST *cur=NIL; in PHP_FUNCTION()
3686 if (IMAPG(imap_errorstack) == NIL) { in PHP_FUNCTION()
3691 while (cur != NIL) { in PHP_FUNCTION()
3692 if (cur->next == NIL) { in PHP_FUNCTION()
4176 SEARCHPGM *pgm = NIL; in PHP_FUNCTION()
4187 top = mail_thread(imap_conn_struct->imap_stream, "REFERENCES", NIL, pgm, flags); in PHP_FUNCTION()
4192 if (top == NIL) { in PHP_FUNCTION()
4235 timeout = (zend_long) mail_parameters(NIL, timeout_type, NIL); in PHP_FUNCTION()
4256 timeout = (zend_long) mail_parameters(NIL, timeout_type, (void *) timeout); in PHP_FUNCTION()
4311 MESSAGELIST *cur = NIL; in mm_searched()
4313 if (IMAPG(imap_messages) == NIL) { in mm_searched()
4316 IMAPG(imap_messages)->next = NIL; in mm_searched()
4323 cur->next = NIL; in mm_searched()
4343 STRINGLIST *cur = NIL; in mm_notify()
4346 if (IMAPG(imap_alertstack) == NIL) { in mm_notify()
4349 IMAPG(imap_alertstack)->next = NIL; in mm_notify()
4352 while (cur->next != NIL) { in mm_notify()
4358 cur->next = NIL; in mm_notify()
4365 STRINGLIST *cur=NIL; in mm_list()
4366 FOBJECTLIST *ocur=NIL; in mm_list()
4371 if (IMAPG(imap_folder_objects) == NIL) { in mm_list()
4376 IMAPG(imap_folder_objects)->next = NIL; in mm_list()
4385 ocur->next = NIL; in mm_list()
4392 if (IMAPG(imap_folders) == NIL) { in mm_list()
4395 IMAPG(imap_folders)->next=NIL; in mm_list()
4402 cur->next = NIL; in mm_list()
4411 STRINGLIST *cur=NIL; in mm_lsub()
4412 FOBJECTLIST *ocur=NIL; in mm_lsub()
4417 if (IMAPG(imap_sfolder_objects) == NIL) { in mm_lsub()
4422 IMAPG(imap_sfolder_objects)->next = NIL; in mm_lsub()
4431 ocur->next = NIL; in mm_lsub()
4436 if (IMAPG(imap_sfolders) == NIL) { in mm_lsub()
4439 IMAPG(imap_sfolders)->next=NIL; in mm_lsub()
4446 cur->next = NIL; in mm_lsub()
4475 ERRORLIST *cur = NIL; in mm_log()
4478 …if (errflg != NIL) { /* CJH: maybe put these into a more comprehensive log for debugging purposes?… in mm_log()
4479 if (IMAPG(imap_errorstack) == NIL) { in mm_log()
4483 IMAPG(imap_errorstack)->next = NIL; in mm_log()
4486 while (cur->next != NIL) { in mm_log()
4493 cur->next = NIL; in mm_log()