Home
last modified time | relevance | path

Searched refs:filestate (Results 1 – 1 of 1) sorted by relevance

/third_party/lwip/src/apps/http/
Dhttp_client.c726 httpc_filestate_t *filestate; in httpc_fs_init() local
733 filestate = (httpc_filestate_t *)mem_malloc((mem_size_t)alloc_len); in httpc_fs_init()
734 if (filestate == NULL) { in httpc_fs_init()
737 memset(filestate, 0, sizeof(httpc_filestate_t)); in httpc_fs_init()
738 filestate->local_file_name = (const char *)(filestate + 1); in httpc_fs_init()
739 memcpy((char *)(filestate + 1), local_file_name, file_len + 1); in httpc_fs_init()
740 filestate->file = NULL; in httpc_fs_init()
741 filestate->client_settings = settings; in httpc_fs_init()
742 filestate->callback_arg = callback_arg; in httpc_fs_init()
744 memcpy(&filestate->settings, settings, sizeof(httpc_connection_t)); in httpc_fs_init()
[all …]