/curl/docs/examples/ |
H A D | multi-event.c | 37 struct event *timeout; 40 struct event *event; member 44 static void curl_perform(int fd, short event, void *arg); 61 event_del(context->event); in destroy_curl_context() 62 event_free(context->event); in destroy_curl_context() 124 static void curl_perform(int fd, short event, void *arg) in curl_perform() argument 130 if(event & EV_READ) in curl_perform() 132 if(event & EV_WRITE) in curl_perform() 190 event_del(curl_context->event); in handle_socket() 193 event_add(curl_context->event, NULL); in handle_socket() [all …]
|
H A D | hiperfifo.c | 84 struct event fifo_event; 85 struct event timer_event; 110 struct event ev; 366 static void fifo_cb(int fd, short event, void *arg) in fifo_cb() argument 373 (void)event; in fifo_cb()
|
H A D | Makefile.inc | 150 multi-event.c \
|
/curl/.github/workflows/ |
H A D | appveyor-status.yml | 11 group: ${{ github.workflow }}-${{ github.event.sha }}-${{ github.event.target_url }} 19 if: ${{ github.event.sender.login == 'appveyor[bot]' }} 24 if: ${{ github.event.sha && github.event.target_url }} 26 APPVEYOR_COMMIT_SHA: ${{ github.event.sha }} 27 APPVEYOR_TARGET_URL: ${{ github.event.target_url }} 28 APPVEYOR_REPOSITORY: ${{ github.event.repository.full_name }}
|
H A D | fuzz.yml | 39 group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
|
H A D | hacktoberfest-accepted.yml | 43 git log --format=email ${{ github.event.before }}..${{ github.event.after }} | \
|
H A D | curl-for-win.yml | 33 group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
|
H A D | distcheck.yml | 17 group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
|
H A D | checkdocs.yml | 30 group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
|
H A D | macos.yml | 33 group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} 135 - name: 'OpenSSL event-based' 139 tflags: --test-event
|
H A D | non-native.yml | 33 group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
|
/curl/lib/ |
H A D | tftp.c | 127 tftp_event_t event; member 407 return tftp_tx(state, event); in tftp_connect_for_tx() 440 switch(event) { in tftp_send_first() 584 switch(event) { in tftp_rx() 710 switch(event) { in tftp_tx() 1124 state->event = (tftp_event_t)event; in tftp_receive_packet() 1126 switch(state->event) { in tftp_receive_packet() 1190 if(event) in tftp_state_timeout() 1191 *event = TFTP_EVENT_NONE; in tftp_state_timeout() 1202 if(event) in tftp_state_timeout() [all …]
|
H A D | cf-https-connect.c | 107 int event, int arg1, void *arg2) in cf_hc_baller_cntrl() argument 110 return Curl_conn_cf_cntrl(b->cf, data, FALSE, event, arg1, arg2); in cf_hc_baller_cntrl() 481 int event, int arg1, void *arg2) in cf_hc_cntrl() argument 487 result = cf_hc_baller_cntrl(&ctx->h3_baller, data, event, arg1, arg2); in cf_hc_cntrl() 489 result = cf_hc_baller_cntrl(&ctx->h21_baller, data, event, arg1, arg2); in cf_hc_cntrl()
|
H A D | cfilters.h | 153 int event, int arg1, void *arg2); 258 int event, int arg1, void *arg2); 336 int event, int arg1, void *arg2);
|
H A D | cfilters.c | 627 int event, int arg1, void *arg2) in Curl_cf_def_cntrl() argument 631 (void)event; in Curl_cf_def_cntrl() 640 int event, int arg1, void *arg2) in Curl_conn_cf_cntrl() argument 647 result = cf->cft->cntrl(cf, data, event, arg1, arg2); in Curl_conn_cf_cntrl() 700 int event, int arg1, void *arg2) in cf_cntrl_all() argument 707 event, arg1, arg2); in cf_cntrl_all()
|
/curl/scripts/ |
H A D | coverage.sh | 38 make TFLAGS=-n test-event
|
/curl/ |
H A D | Makefile.am | 123 test-event: test 146 test-event: 147 @(cd tests; $(MAKE) all event-test)
|
/curl/docs/libcurl/ |
H A D | curl_multi_add_handle.md | 49 should if you are working event-based with curl_multi_socket_action(3) 51 updated timer so that your main event loop gets the activity on this handle to
|
H A D | curl_multi_socket.md | 54 poll the value at any given time, but for an event-based system using the 64 /* the event-library gets told when there activity on the socket 'fd',
|
H A D | curl_multi_socket_action.md | 66 for an event-based system using the callback is far better than relying on 106 /* the event-library gets told when there activity on the socket 'fd',
|
H A D | libcurl-multi.md | 44 4. Enable event-based handling and scaling transfers up to and beyond 59 the event based one we call multi_socket. You benefit from reading through the 155 This API is typically used with an event-driven underlying functionality (like
|
H A D | curl_multi_poll.md | 124 /* did our descriptor receive an event? */
|
/curl/tests/ |
H A D | Makefile.am | 180 event-test: perlcheck all
|
H A D | runtests.md | 73 E the test was run event-based 121 ## `-e` or `--test-event` 123 Run the test event-based (if possible). This makes runtests invoke curl with 124 --test-event option. This option only works if both curl and libcurl were
|
H A D | CMakeLists.txt | 109 add_runtests(test-event "-a -e")
|