Lines Matching refs:client_ptr

117 UINT  _nxe_pop3_client_create(NX_POP3_CLIENT *client_ptr, UINT APOP_authentication, NX_IP *ip_ptr,   in _nxe_pop3_client_create()  argument
127 …if ((ip_ptr == NX_NULL) || (client_ptr == NX_NULL) || (packet_pool_ptr == NX_NULL) || (client_name… in _nxe_pop3_client_create()
142 status = _nx_pop3_client_create(client_ptr, in _nxe_pop3_client_create()
151 NX_PARAMETER_NOT_USED(client_ptr); in _nxe_pop3_client_create()
214 UINT _nx_pop3_client_create(NX_POP3_CLIENT *client_ptr, UINT APOP_authentication, NX_IP *ip_ptr, in _nx_pop3_client_create() argument
226 status = _nxd_pop3_client_create(client_ptr, in _nx_pop3_client_create()
234 NX_PARAMETER_NOT_USED(client_ptr); in _nx_pop3_client_create()
299 UINT _nxde_pop3_client_create(NX_POP3_CLIENT *client_ptr, UINT APOP_authentication, NX_IP *ip_ptr, in _nxde_pop3_client_create() argument
308 …if ((ip_ptr == NX_NULL) || (client_ptr == NX_NULL) || (packet_pool_ptr == NX_NULL) || (server_ip_a… in _nxde_pop3_client_create()
323 status = _nxd_pop3_client_create(client_ptr, in _nxde_pop3_client_create()
387 UINT _nxd_pop3_client_create(NX_POP3_CLIENT *client_ptr, UINT APOP_authentication, NX_IP *ip_ptr, in _nxd_pop3_client_create() argument
398 client_ptr -> nx_pop3_client_ready_to_download = NX_FALSE; in _nxd_pop3_client_create()
408 memset(client_ptr, 0, sizeof(NX_POP3_CLIENT)); in _nxd_pop3_client_create()
411 memset(client_ptr -> nx_pop3_client_name, 0, NX_POP3_MAX_USERNAME); in _nxd_pop3_client_create()
412 …memcpy(client_ptr -> nx_pop3_client_name, client_name, client_name_length); /* Use case of memcpy … in _nxd_pop3_client_create()
413 memset(client_ptr -> nx_pop3_client_password, 0, NX_POP3_MAX_PASSWORD); in _nxd_pop3_client_create()
414 …memcpy(client_ptr -> nx_pop3_client_password, client_password, client_password_length); /* Use cas… in _nxd_pop3_client_create()
417 client_ptr -> nx_pop3_client_enable_APOP_authentication = APOP_authentication; in _nxd_pop3_client_create()
420 …status = nx_tcp_socket_create(ip_ptr, &client_ptr -> nx_pop3_client_tcp_socket, "POP3 Client sock… in _nxd_pop3_client_create()
434 client_ptr -> nx_pop3_client_packet_pool_ptr = packet_pool_ptr; in _nxd_pop3_client_create()
436 status = _nxd_pop3_client_connect(client_ptr, server_ip_address, server_port); in _nxd_pop3_client_create()
485 UINT _nxe_pop3_client_delete(NX_POP3_CLIENT *client_ptr) in _nxe_pop3_client_delete() argument
492 if (client_ptr == NX_NULL) in _nxe_pop3_client_delete()
500 status = _nx_pop3_client_delete(client_ptr); in _nxe_pop3_client_delete()
549 UINT _nx_pop3_client_delete(NX_POP3_CLIENT *client_ptr) in _nx_pop3_client_delete() argument
552 if (client_ptr -> nx_pop3_client_message_ptr) in _nx_pop3_client_delete()
554 nx_packet_release(client_ptr -> nx_pop3_client_message_ptr); in _nx_pop3_client_delete()
558 …nx_tcp_socket_disconnect(&client_ptr -> nx_pop3_client_tcp_socket, NX_POP3_CLIENT_DISCONNECT_TIMEO… in _nx_pop3_client_delete()
561 nx_tcp_client_socket_unbind(&client_ptr -> nx_pop3_client_tcp_socket); in _nx_pop3_client_delete()
564 nx_tcp_socket_delete(&client_ptr -> nx_pop3_client_tcp_socket); in _nx_pop3_client_delete()
567 memset(client_ptr, 0, sizeof(NX_POP3_CLIENT)); in _nx_pop3_client_delete()
617 UINT _nxe_pop3_client_mail_items_get(NX_POP3_CLIENT *client_ptr, UINT *number_mail_items, ULONG *ma… in _nxe_pop3_client_mail_items_get() argument
624 … if ((client_ptr == NX_NULL) || (number_mail_items == NX_NULL) || (maildrop_total_size == NX_NULL)) in _nxe_pop3_client_mail_items_get()
630 status = _nx_pop3_client_mail_items_get(client_ptr, number_mail_items, maildrop_total_size); in _nxe_pop3_client_mail_items_get()
686 UINT _nx_pop3_client_mail_items_get(NX_POP3_CLIENT *client_ptr, UINT *number_mail_items, ULONG *mai… in _nx_pop3_client_mail_items_get() argument
696 …if (client_ptr -> nx_pop3_client_tcp_socket.nx_tcp_socket_connect_ip.nxd_ip_version == NX_IP_VERSI… in _nx_pop3_client_mail_items_get()
702 status = nx_packet_allocate(client_ptr -> nx_pop3_client_packet_pool_ptr, in _nx_pop3_client_mail_items_get()
737 …status = nx_tcp_socket_send(&client_ptr -> nx_pop3_client_tcp_socket, packet_ptr, NX_POP3_TCP_SOC… in _nx_pop3_client_mail_items_get()
751 client_ptr -> nx_pop3_client_total_message_size = 0; in _nx_pop3_client_mail_items_get()
752 client_ptr -> nx_pop3_client_maildrop_items = 0; in _nx_pop3_client_mail_items_get()
755 …status = nx_tcp_socket_receive(&(client_ptr -> nx_pop3_client_tcp_socket), &recv_packet_ptr, NX_PO… in _nx_pop3_client_mail_items_get()
799 client_ptr -> nx_pop3_client_maildrop_items = strtoul(argument, NULL, 10); in _nx_pop3_client_mail_items_get()
812 client_ptr -> nx_pop3_client_total_message_size = strtoul(argument, NULL, 10); in _nx_pop3_client_mail_items_get()
819 *maildrop_total_size = client_ptr -> nx_pop3_client_total_message_size; in _nx_pop3_client_mail_items_get()
820 *number_mail_items = client_ptr -> nx_pop3_client_maildrop_items; in _nx_pop3_client_mail_items_get()
873 UINT _nxe_pop3_client_mail_item_size_get(NX_POP3_CLIENT *client_ptr, UINT mail_item, ULONG *size) in _nxe_pop3_client_mail_item_size_get() argument
880 if ((client_ptr == NX_NULL) || (size == NX_NULL)) in _nxe_pop3_client_mail_item_size_get()
892 status = _nx_pop3_client_mail_item_size_get(client_ptr, mail_item, size); in _nxe_pop3_client_mail_item_size_get()
953 UINT _nx_pop3_client_mail_item_size_get(NX_POP3_CLIENT *client_ptr, UINT mail_item, ULONG *size) in _nx_pop3_client_mail_item_size_get() argument
968 if (mail_item > client_ptr -> nx_pop3_client_maildrop_items) in _nx_pop3_client_mail_item_size_get()
974 …if (client_ptr -> nx_pop3_client_tcp_socket.nx_tcp_socket_connect_ip.nxd_ip_version == NX_IP_VERSI… in _nx_pop3_client_mail_item_size_get()
980 status = nx_packet_allocate(client_ptr -> nx_pop3_client_packet_pool_ptr, in _nx_pop3_client_mail_item_size_get()
1028 …status = nx_tcp_socket_send(&client_ptr -> nx_pop3_client_tcp_socket, packet_ptr, NX_POP3_TCP_SOC… in _nx_pop3_client_mail_item_size_get()
1042 …status = nx_tcp_socket_receive(&(client_ptr -> nx_pop3_client_tcp_socket), &recv_packet_ptr, NX_PO… in _nx_pop3_client_mail_item_size_get()
1155 UINT _nxe_pop3_client_mail_item_get(NX_POP3_CLIENT *client_ptr, UINT mail_item, ULONG *item_size) in _nxe_pop3_client_mail_item_get() argument
1161 if ((client_ptr == NX_NULL) || (item_size == NX_NULL)) in _nxe_pop3_client_mail_item_get()
1173 status = _nx_pop3_client_mail_item_get(client_ptr, mail_item, item_size); in _nxe_pop3_client_mail_item_get()
1231 UINT _nx_pop3_client_mail_item_get(NX_POP3_CLIENT *client_ptr, UINT mail_item, ULONG *item_size) in _nx_pop3_client_mail_item_get() argument
1242 client_ptr -> nx_pop3_client_ready_to_download = NX_FALSE; in _nx_pop3_client_mail_item_get()
1245 if (mail_item > client_ptr -> nx_pop3_client_maildrop_items) in _nx_pop3_client_mail_item_get()
1251 …if (client_ptr -> nx_pop3_client_tcp_socket.nx_tcp_socket_connect_ip.nxd_ip_version == NX_IP_VERSI… in _nx_pop3_client_mail_item_get()
1257 status = nx_packet_allocate(client_ptr -> nx_pop3_client_packet_pool_ptr, in _nx_pop3_client_mail_item_get()
1313 …status = nx_tcp_socket_send(&client_ptr -> nx_pop3_client_tcp_socket, packet_ptr, NX_POP3_TCP_SOC… in _nx_pop3_client_mail_item_get()
1327 …status = nx_tcp_socket_receive(&(client_ptr -> nx_pop3_client_tcp_socket), &recv_packet_ptr, NX_PO… in _nx_pop3_client_mail_item_get()
1358 client_ptr -> nx_pop3_client_ready_to_download = NX_TRUE; in _nx_pop3_client_mail_item_get()
1390 client_ptr -> nx_pop3_client_message_ptr = recv_packet_ptr; in _nx_pop3_client_mail_item_get()
1454 UINT _nxe_pop3_client_mail_item_message_get(NX_POP3_CLIENT *client_ptr, NX_PACKET **recv_packet_ptr… in _nxe_pop3_client_mail_item_message_get() argument
1460 …if ((client_ptr == NX_NULL) || (recv_packet_ptr == NX_NULL) || (bytes_retrieved == NX_NULL) || (fi… in _nxe_pop3_client_mail_item_message_get()
1466 …status = _nx_pop3_client_mail_item_message_get(client_ptr, recv_packet_ptr, bytes_retrieved, final… in _nxe_pop3_client_mail_item_message_get()
1526 UINT _nx_pop3_client_mail_item_message_get(NX_POP3_CLIENT *client_ptr, NX_PACKET **recv_packet_ptr,… in _nx_pop3_client_mail_item_message_get() argument
1537 if (client_ptr -> nx_pop3_client_ready_to_download == NX_FALSE) in _nx_pop3_client_mail_item_message_get()
1543 if (client_ptr -> nx_pop3_client_message_ptr) in _nx_pop3_client_mail_item_message_get()
1546 *recv_packet_ptr = client_ptr -> nx_pop3_client_message_ptr; in _nx_pop3_client_mail_item_message_get()
1547 client_ptr -> nx_pop3_client_message_ptr = NX_NULL; in _nx_pop3_client_mail_item_message_get()
1553 …status = nx_tcp_socket_receive(&client_ptr -> nx_pop3_client_tcp_socket, recv_packet_ptr, NX_POP3_… in _nx_pop3_client_mail_item_message_get()
1577 client_ptr -> nx_pop3_client_ready_to_download = NX_FALSE; in _nx_pop3_client_mail_item_message_get()
1596 client_ptr -> nx_pop3_client_ready_to_download = NX_FALSE; in _nx_pop3_client_mail_item_message_get()
1648 UINT _nxe_pop3_client_mail_item_delete(NX_POP3_CLIENT *client_ptr, UINT mail_index) in _nxe_pop3_client_mail_item_delete() argument
1655 if (client_ptr == NX_NULL) in _nxe_pop3_client_mail_item_delete()
1667 status = _nx_pop3_client_mail_item_delete(client_ptr, mail_index); in _nxe_pop3_client_mail_item_delete()
1726 UINT _nx_pop3_client_mail_item_delete(NX_POP3_CLIENT *client_ptr, UINT mail_index) in _nx_pop3_client_mail_item_delete() argument
1738 …if (client_ptr -> nx_pop3_client_tcp_socket.nx_tcp_socket_connect_ip.nxd_ip_version == NX_IP_VERSI… in _nx_pop3_client_mail_item_delete()
1744 status = nx_packet_allocate(client_ptr -> nx_pop3_client_packet_pool_ptr, in _nx_pop3_client_mail_item_delete()
1794 …status = nx_tcp_socket_send(&client_ptr -> nx_pop3_client_tcp_socket, packet_ptr, NX_POP3_TCP_SOC… in _nx_pop3_client_mail_item_delete()
1808 …status = nx_tcp_socket_receive(&(client_ptr -> nx_pop3_client_tcp_socket), &recv_packet_ptr, NX_PO… in _nx_pop3_client_mail_item_delete()
1891 UINT _nxe_pop3_client_quit(NX_POP3_CLIENT *client_ptr) in _nxe_pop3_client_quit() argument
1896 if (client_ptr == NX_NULL) in _nxe_pop3_client_quit()
1901 status = _nx_pop3_client_quit(client_ptr); in _nxe_pop3_client_quit()
1952 UINT _nx_pop3_client_quit(NX_POP3_CLIENT *client_ptr) in _nx_pop3_client_quit() argument
1963 …if (client_ptr -> nx_pop3_client_tcp_socket.nx_tcp_socket_connect_ip.nxd_ip_version == NX_IP_VERSI… in _nx_pop3_client_quit()
1969 status = nx_packet_allocate(client_ptr -> nx_pop3_client_packet_pool_ptr, in _nx_pop3_client_quit()
2004 …status = nx_tcp_socket_send(&client_ptr -> nx_pop3_client_tcp_socket, packet_ptr, NX_POP3_TCP_SOC… in _nx_pop3_client_quit()
2018 …status = nx_tcp_socket_receive(&(client_ptr -> nx_pop3_client_tcp_socket), &recv_packet_ptr, NX_PO… in _nx_pop3_client_quit()
2109 UINT _nx_pop3_digest_authenticate(NX_POP3_CLIENT *client_ptr, CHAR *process_ID_ptr, UINT process_I… in _nx_pop3_digest_authenticate() argument
2115 _nx_md5_initialize(&client_ptr -> nx_pop3_client_md5data); in _nx_pop3_digest_authenticate()
2118 …_nx_md5_update(&client_ptr -> nx_pop3_client_md5data, (unsigned char *)process_ID_ptr, process_ID_… in _nx_pop3_digest_authenticate()
2121 … _nx_md5_digest_calculate(&client_ptr -> nx_pop3_client_md5data, (unsigned char *)&md5_binary[0]); in _nx_pop3_digest_authenticate()
2174 VOID _nx_pop3_parse_process_id(NX_POP3_CLIENT *client_ptr, CHAR *buffer, UINT buffer_length) in _nx_pop3_parse_process_id() argument
2186 memset(&client_ptr -> nx_pop3_server_process_id[0], 0, NX_POP3_SERVER_PROCESS_ID_SIZE); in _nx_pop3_parse_process_id()
2202 client_ptr -> nx_pop3_server_process_id[pid_index] = *buffer; in _nx_pop3_parse_process_id()
2665 UINT _nxd_pop3_client_connect(NX_POP3_CLIENT *client_ptr, NXD_ADDRESS *server_ip_address, ULONG ser… in _nxd_pop3_client_connect() argument
2675 …if ((_nx_utility_string_length_check(&client_ptr -> nx_pop3_client_name[0], NX_NULL, NX_POP3_MAX_U… in _nxd_pop3_client_connect()
2676 …(_nx_utility_string_length_check(&client_ptr -> nx_pop3_client_password[0], NX_NULL, NX_POP3_MAX_P… in _nxd_pop3_client_connect()
2682 …status = nx_tcp_client_socket_bind(&client_ptr -> nx_pop3_client_tcp_socket, NX_ANY_PORT, NX_IP_P… in _nxd_pop3_client_connect()
2690 status = nxd_tcp_client_socket_connect(&client_ptr -> nx_pop3_client_tcp_socket, in _nxd_pop3_client_connect()
2701 …status = nx_tcp_socket_receive(&(client_ptr -> nx_pop3_client_tcp_socket), &recv_packet_ptr, NX_PO… in _nxd_pop3_client_connect()
2734 if (client_ptr -> nx_pop3_client_enable_APOP_authentication) in _nxd_pop3_client_connect()
2738 _nx_pop3_parse_process_id(client_ptr, buffer_ptr, recv_packet_ptr -> nx_packet_length); in _nxd_pop3_client_connect()
2741 if (client_ptr -> nx_pop3_server_process_id[0] != 0) in _nxd_pop3_client_connect()
2745 status = _nx_pop3_client_apop(client_ptr); in _nxd_pop3_client_connect()
2761 client_ptr -> nx_pop3_client_enable_APOP_authentication = NX_FALSE; in _nxd_pop3_client_connect()
2766 status = _nx_pop3_client_user_pass(client_ptr); in _nxd_pop3_client_connect()
2824 UINT _nx_pop3_client_apop(NX_POP3_CLIENT *client_ptr) in _nx_pop3_client_apop() argument
2841 …if (client_ptr -> nx_pop3_client_tcp_socket.nx_tcp_socket_connect_ip.nxd_ip_version == NX_IP_VERSI… in _nx_pop3_client_apop()
2847 status = nx_packet_allocate(client_ptr -> nx_pop3_client_packet_pool_ptr, in _nx_pop3_client_apop()
2862 …if (_nx_utility_string_length_check(client_ptr -> nx_pop3_server_process_id, &server_process_id_le… in _nx_pop3_client_apop()
2863 …_nx_utility_string_length_check(client_ptr -> nx_pop3_client_password, &client_password_length, NX… in _nx_pop3_client_apop()
2874 …memcpy(&userid_buffer[0], &client_ptr -> nx_pop3_server_process_id[0], server_process_id_length); … in _nx_pop3_client_apop()
2876 …memcpy(&userid_buffer[index], &client_ptr -> nx_pop3_client_password[0], client_password_length); … in _nx_pop3_client_apop()
2877 …status = _nx_pop3_digest_authenticate(client_ptr, &userid_buffer[0], (server_process_id_length + c… in _nx_pop3_client_apop()
2890 …if (_nx_utility_string_length_check(client_ptr -> nx_pop3_client_name, &client_name_length, NX_POP… in _nx_pop3_client_apop()
2925 …memcpy(buffer, client_ptr -> nx_pop3_client_name, client_name_length); /* Use case of memcpy is v… in _nx_pop3_client_apop()
2945 …status = nx_tcp_socket_send(&client_ptr -> nx_pop3_client_tcp_socket, packet_ptr, NX_POP3_TCP_SOC… in _nx_pop3_client_apop()
2959 …status = nx_tcp_socket_receive(&(client_ptr -> nx_pop3_client_tcp_socket), &recv_packet_ptr, NX_PO… in _nx_pop3_client_apop()
3051 UINT _nx_pop3_client_user_pass(NX_POP3_CLIENT *client_ptr) in _nx_pop3_client_user_pass() argument
3063 …if (client_ptr -> nx_pop3_client_tcp_socket.nx_tcp_socket_connect_ip.nxd_ip_version == NX_IP_VERSI… in _nx_pop3_client_user_pass()
3069 status = nx_packet_allocate(client_ptr -> nx_pop3_client_packet_pool_ptr, in _nx_pop3_client_user_pass()
3081 …if (_nx_utility_string_length_check(client_ptr -> nx_pop3_client_name, &client_name_length, NX_POP… in _nx_pop3_client_user_pass()
3114 …memcpy(buffer, client_ptr -> nx_pop3_client_name, client_name_length); /* Use case of memcpy is ve… in _nx_pop3_client_user_pass()
3125 …status = nx_tcp_socket_send(&client_ptr -> nx_pop3_client_tcp_socket, packet_ptr, NX_POP3_TCP_SOC… in _nx_pop3_client_user_pass()
3139 …status = nx_tcp_socket_receive(&(client_ptr -> nx_pop3_client_tcp_socket), &recv_packet_ptr, NX_PO… in _nx_pop3_client_user_pass()
3175 …if (client_ptr -> nx_pop3_client_tcp_socket.nx_tcp_socket_connect_ip.nxd_ip_version == NX_IP_VERSI… in _nx_pop3_client_user_pass()
3181 status = nx_packet_allocate(client_ptr -> nx_pop3_client_packet_pool_ptr, in _nx_pop3_client_user_pass()
3193 …if (_nx_utility_string_length_check(client_ptr -> nx_pop3_client_password, &client_password_length… in _nx_pop3_client_user_pass()
3224 …memcpy(buffer, client_ptr -> nx_pop3_client_password, client_password_length); /* Use case of memc… in _nx_pop3_client_user_pass()
3235 …status = nx_tcp_socket_send(&client_ptr -> nx_pop3_client_tcp_socket, packet_ptr, NX_POP3_TCP_SOC… in _nx_pop3_client_user_pass()
3249 …status = nx_tcp_socket_receive(&(client_ptr -> nx_pop3_client_tcp_socket), &next_recv_packet_ptr, … in _nx_pop3_client_user_pass()