Home
last modified time | relevance | path

Searched refs:callback (Results 1 – 25 of 543) sorted by relevance

12345678910>>...22

/trueos/crypto/openssl/doc/crypto/
HDBIO_set_callback.pod6 BIO_debug_callback - BIO callback functions
12 #define BIO_set_callback(b,cb) ((b)->callback=(cb))
13 #define BIO_get_callback(b) ((b)->callback)
20 typedef long (*callback)(BIO *b, int oper, const char *argp,
25 BIO_set_callback() and BIO_get_callback() set and retrieve the BIO callback,
26 they are both macros. The callback is called during most high level BIO
31 used to set and retrieve an argument for use in the callback.
33 BIO_debug_callback() is a standard debugging callback which prints
34 out information relating to each BIO operation. If the callback
38 callback() is the callback function itself. The meaning of each
[all …]
HDDSA_generate_parameters.pod13 void (*callback)(int, int, void *), void *cb_arg);
32 A callback function may be used to provide feedback about the progress
33 of the key generation. If B<callback> is not B<NULL>, it will be
40 When a candidate for q is generated, B<callback(0, m++, cb_arg)> is called
46 B<callback(1, -1, cb_arg)> is called.
48 B<callback(1, i, cb_arg)> is called in the outer loop
54 When a prime q has been found, B<callback(2, 0, cb_arg)> and
55 B<callback(3, 0, cb_arg)> are called.
60 B<callback(0, counter, cb_arg)> is called.
65 B<callback(1, -1, cb_arg)> is called.
[all …]
HDX509_STORE_CTX_set_verify_cb.pod5 X509_STORE_CTX_set_verify_cb - set verification callback
16 X509_STORE_CTX_set_verify_cb() sets the verification callback of B<ctx> to
17 B<verify_cb> overwriting any existing callback.
19 The verification callback can be used to customise the operation of certificate
23 However a verification callback is B<not> essential and the default operation
26 The B<ok> parameter to the callback indicates the value the callback should
32 The B<ctx> parameter to the callback is the B<X509_STORE_CTX> structure that
33 is performing the verification operation. A callback can examine this
36 be passed to the callback via the B<ex_data> mechanism.
40 In general a verification callback should B<NOT> unconditionally return 1 in
[all …]
HDBN_generate_prime.pod12 BIGNUM *rem, void (*callback)(int, int, void *), void *cb_arg);
14 int BN_is_prime(const BIGNUM *a, int checks, void (*callback)(int, int,
18 void (*callback)(int, int, void *), BN_CTX *ctx, void *cb_arg,
27 If B<callback> is not B<NULL>, it is called as follows:
33 B<callback(0, i, cb_arg)> is called after generating the i-th
38 While the number is being tested for primality, B<callback(1, j,
43 When a prime has been found, B<callback(2, i, cb_arg)> is called.
67 if no divisors are found by this test and B<callback> is not B<NULL>,
68 B<callback(1, -1, cb_arg)> is called.
76 If B<callback> is not B<NULL>, B<callback(1, j, cb_arg)> is called
HDX509_STORE_set_verify_cb_func.pod5 X509_STORE_set_verify_cb_func, X509_STORE_set_verify_cb - set verification callback
19 X509_STORE_set_verify_cb() sets the verification callback of B<ctx> to
20 B<verify_cb> overwriting any existing callback.
22 X509_STORE_set_verify_cb_func() also sets the verification callback but it
27 The verification callback from an B<X509_STORE> is inherited by
29 be used to set the verification callback when the B<X509_STORE_CTX> is
HDRSA_generate_key.pod12 void (*callback)(int,int,void *), void *cb_arg);
24 A callback function may be used to provide feedback about the
25 progress of the key generation. If B<callback> is not B<NULL>, it
38 suitable for the key, B<callback(2, n, cb_arg)> is called.
43 it is called as B<callback(3, 0, cb_arg)>.
47 The process is then repeated for prime q with B<callback(3, 1, cb_arg)>.
56 B<callback(2, x, cb_arg)> is used with two different meanings.
/trueos/sys/dev/etherswitch/
HDmiiproxy.c90 rendevous_callback_t callback; member
108 error = e->proxy.callback(RENDEVOUS_ATTACH, e); in rendevous_attach()
110 error = e->target.callback(RENDEVOUS_ATTACH, e); in rendevous_attach()
112 e->proxy.callback(RENDEVOUS_DETACH, e); in rendevous_attach()
114 ep->callback = NULL; in rendevous_attach()
130 rendevous_callback_t callback) in rendevous_register_proxy() argument
134 KASSERT(callback != NULL, ("callback must be set")); in rendevous_register_proxy()
140 e->proxy.callback = callback; in rendevous_register_proxy()
147 e->proxy.callback = callback; in rendevous_register_proxy()
158 rendevous_register_target(device_t dev, rendevous_callback_t callback) in rendevous_register_target() argument
[all …]
/trueos/crypto/openssl/doc/ssl/
HDSSL_CTX_set_cert_verify_callback.pod11 …void SSL_CTX_set_cert_verify_callback(SSL_CTX *ctx, int (*callback)(X509_STORE_CTX *,void *), void…
15 SSL_CTX_set_cert_verify_callback() sets the verification callback function for
23 verification callback function, the built-in verification function is used.
24 If a verification callback I<callback> is specified via
25 SSL_CTX_set_cert_verify_callback(), the supplied callback function is called
26 instead. By setting I<callback> to NULL, the default behaviour is restored.
28 When the verification must be performed, I<callback> will be called with
29 the arguments callback(X509_STORE_CTX *x509_store_ctx, void *arg). The
30 argument I<arg> is specified by the application when setting I<callback>.
32 I<callback> should return 1 to indicate verification success and 0 to
[all …]
HDSSL_CTX_set_info_callback.pod5 …back, SSL_set_info_callback, SSL_get_info_callback - handle information callback for SSL connectio…
11 void SSL_CTX_set_info_callback(SSL_CTX *ctx, void (*callback)());
14 void SSL_set_info_callback(SSL *ssl, void (*callback)());
19 SSL_CTX_set_info_callback() sets the B<callback> function, that can be used to
23 When B<callback> is NULL, not callback function is used.
25 SSL_set_info_callback() sets the B<callback> function, that can be used to
27 When B<callback> is NULL, the callback setting currently valid for
31 callback function for B<ctx>.
34 callback function for B<ssl>.
39 information from the SSL/TLS engine. When set, an information callback function
[all …]
HDSSL_CTX_set_psk_client_callback.pod34 SSL_CTX_set_psk_client_callback, SSL_set_psk_client_callback - set PSK client callback
41 unsigned int (*callback)(SSL *ssl, const char *hint,
45 unsigned int (*callback)(SSL *ssl, const char *hint,
52 A client application must provide a callback function which is called
55 The purpose of the callback function is to select the PSK identity and
58 The callback is set using functions SSL_CTX_set_psk_client_callback()
59 or SSL_set_psk_client_callback(). The callback function is given the
69 Note that parameter B<hint> given to the callback may be B<NULL>.
73 Return values from the client callback are interpreted as follows:
75 On success (callback found a PSK identity and a pre-shared key to use)
[all …]
HDSSL_CTX_set_client_cert_cb.pod5 SSL_CTX_set_client_cert_cb, SSL_CTX_get_client_cert_cb - handle client certificate callback function
17 SSL_CTX_set_client_cert_cb() sets the B<client_cert_cb()> callback, that is
21 When B<client_cert_cb()> is NULL, no callback function is used.
23 SSL_CTX_get_client_cert_cb() returns a pointer to the currently set callback
26 client_cert_cb() is the application defined callback. If it wants to
49 library. Using the callback function it is possible to implement a proper
53 If a callback function is defined and no certificate was yet defined for the
54 SSL object, the callback function will be called.
55 If the callback function returns a certificate, the OpenSSL library
60 If the callback returns no certificate, the OpenSSL library will not send
[all …]
HDSSL_CTX_sess_set_get_cb.pod5 …t_new_cb, SSL_CTX_sess_get_remove_cb, SSL_CTX_sess_get_get_cb - provide callback functions for ser…
29 SSL_CTX_sess_set_new_cb() sets the callback function, which is automatically
32 SSL_CTX_sess_set_remove_cb() sets the callback function, which is
37 SSL_CTX_sess_set_get_cb() sets the callback function which is called,
45 provided callback functions. If a callback function has not been set,
51 session cache is realized via callback functions. Inside these callback
59 B<sess>. If the callback returns B<0>, the session will be immediately
73 B<data>. With the parameter B<copy> the callback can require the
HDSSL_CTX_set_generate_session_id.pod21 SSL_CTX_set_generate_session_id() sets the callback function for generating
24 SSL_set_generate_session_id() sets the callback function for generating
41 Without a callback being set, an OpenSSL server will generate a unique
43 Using the callback function, the session id can be changed to contain
47 The callback function receives a pointer to the memory location to put
50 The callback is only allowed to generate a shorter id and reduce B<id_len>;
51 the callback B<must never> increase B<id_len> or write to the location
55 restored after the callback has finished and the session id will be padded
57 The callback can use the L<SSL_get_version(3)|SSL_get_version(3)> function
60 The location B<id> is filled with 0x00 before the callback is called, so the
[all …]
/trueos/contrib/gdb/gdb/
HDremote-rdp.c63 static host_callback *callback = &default_callback; variable
683 callback->shutdown (callback); in remote_rdp_kill()
822 callback->write_stdout (callback, &c, 1); in exec_swi()
826 callback->write_stdout (callback, args->s, strlen (args->s)); in exec_swi()
829 callback->read_stdin (callback, &c, 1); in exec_swi()
833 args->n = callback->system (callback, args->s); in exec_swi()
836 args->n = callback->get_errno (callback); in exec_swi()
839 args->n = callback->time (callback, NULL); in exec_swi()
856 args->n = callback->unlink (callback, args->s); in exec_swi()
859 args->n = callback->rename (callback, args[0].s, args[1].s); in exec_swi()
[all …]
/trueos/sys/kern/
HDsubr_bus_dma.c286 bus_size_t buflen, bus_dmamap_callback_t *callback, in bus_dmamap_load() argument
296 _bus_dmamap_waitok(dmat, map, &mem, callback, callback_arg); in bus_dmamap_load()
312 (*callback)(callback_arg, segs, 0, error); in bus_dmamap_load()
314 (*callback)(callback_arg, segs, nsegs, 0); in bus_dmamap_load()
328 bus_dmamap_callback2_t *callback, void *callback_arg, int flags) in bus_dmamap_load_mbuf() argument
342 (*callback)(callback_arg, segs, 0, 0, error); in bus_dmamap_load_mbuf()
344 (*callback)(callback_arg, segs, nsegs, m0->m_pkthdr.len, error); in bus_dmamap_load_mbuf()
367 bus_dmamap_callback2_t *callback, void *callback_arg, int flags) in bus_dmamap_load_uio() argument
379 (*callback)(callback_arg, segs, 0, 0, error); in bus_dmamap_load_uio()
381 (*callback)(callback_arg, segs, nsegs, uio->uio_resid, error); in bus_dmamap_load_uio()
[all …]
/trueos/sys/xen/
HDgnttab.c90 struct gnttab_free_callback *callback, *next; in do_free_callbacks() local
92 callback = gnttab_free_callback_list; in do_free_callbacks()
95 while (callback != NULL) { in do_free_callbacks()
96 next = callback->next; in do_free_callbacks()
97 if (gnttab_free_count >= callback->count) { in do_free_callbacks()
98 callback->next = NULL; in do_free_callbacks()
99 callback->fn(callback->arg); in do_free_callbacks()
101 callback->next = gnttab_free_callback_list; in do_free_callbacks()
102 gnttab_free_callback_list = callback; in do_free_callbacks()
104 callback = next; in do_free_callbacks()
[all …]
/trueos/contrib/llvm/tools/lldb/include/lldb/Utility/
HDCleanUp.h67 CleanUp (value_type value, CallbackType callback) : in CleanUp() argument
70 m_callback (callback), in CleanUp()
81 CleanUp (value_type value, value_type invalid, CallbackType callback) : in CleanUp() argument
84 m_callback (callback), in CleanUp()
198 CleanUp2 (value_type value, CallbackType callback, A0 arg) : in CleanUp2() argument
201 m_callback (callback), in CleanUp2()
213 CleanUp2 (value_type value, value_type invalid, CallbackType callback, A0 arg) : in CleanUp2() argument
216 m_callback (callback), in CleanUp2()
/trueos/contrib/subversion/subversion/include/private/
HDsvn_editor.h691 svn_editor_cb_add_directory_t callback,
702 svn_editor_cb_add_file_t callback,
713 svn_editor_cb_add_symlink_t callback,
724 svn_editor_cb_add_absent_t callback,
735 svn_editor_cb_alter_directory_t callback,
746 svn_editor_cb_alter_file_t callback,
757 svn_editor_cb_alter_symlink_t callback,
768 svn_editor_cb_delete_t callback,
779 svn_editor_cb_copy_t callback,
790 svn_editor_cb_move_t callback,
[all …]
/trueos/contrib/unbound/util/
HDnetevent.h253 comm_point_callback_t* callback; member
266 void (*callback)(void*); member
283 void (*callback)(int, void*); member
371 comm_point_callback_t* callback, void* callback_arg);
387 comm_point_callback_t* callback, void* callback_arg);
408 comm_point_callback_t* callback, void* callback_arg);
419 size_t bufsize, comm_point_callback_t* callback, void* callback_arg);
432 comm_point_callback_t* callback, void* callback_arg);
445 comm_point_callback_t* callback, void* callback_arg);
565 void (*callback)(int, void*), void* cb_arg);
/trueos/crypto/openssl/crypto/bn/
HDbn_depr.c72 void (*callback) (int, int, void *), void *cb_arg) in BN_generate_prime()
78 BN_GENCB_set_old(&cb, callback, cb_arg); in BN_generate_prime()
97 void (*callback) (int, int, void *), BN_CTX *ctx_passed, in BN_is_prime()
101 BN_GENCB_set_old(&cb, callback, cb_arg); in BN_is_prime()
106 void (*callback) (int, int, void *), in BN_is_prime_fasttest()
111 BN_GENCB_set_old(&cb, callback, cb_arg); in BN_is_prime_fasttest()
/trueos/sys/sys/
HDbus_dma.h196 bus_size_t buflen, bus_dmamap_callback_t *callback,
205 bus_dmamap_callback2_t *callback, void *callback_arg,
218 bus_dmamap_callback2_t *callback, void *callback_arg,
225 bus_dmamap_callback_t *callback, void *callback_arg,
232 bus_dmamap_callback_t *callback, void *callback_arg,
239 struct memdesc *mem, bus_dmamap_callback_t *callback,
311 bus_dmamap_callback_t *callback,
314 #define _bus_dmamap_waitok(dmat, map, mem, callback, callback_arg) \ argument
317 __bus_dmamap_waitok(dmat, map, mem, callback, \
/trueos/sys/ofed/drivers/infiniband/core/
HDsa_query.c77 void (*callback)(struct ib_sa_query *, int, struct ib_sa_mad *); member
87 void (*callback)(int, struct ib_sa_service_rec *, void *); member
93 void (*callback)(int, struct ib_sa_path_rec *, void *); member
99 void (*callback)(int, struct ib_sa_mcmember_rec *, void *); member
105 void (*callback)(int, struct ib_sa_inform *, void *); member
794 query->callback(status, &rec, query->context); in ib_sa_path_rec_callback()
796 query->callback(status, NULL, query->context); in ib_sa_path_rec_callback()
809 void (*callback)(int status, in ib_sa_path_rec_query()
839 query->callback = callback; in ib_sa_path_rec_query()
845 query->sa_query.callback = callback ? ib_sa_path_rec_callback : NULL; in ib_sa_path_rec_query()
[all …]
/trueos/contrib/subversion/subversion/libsvn_delta/
HDeditor.c295 svn_editor_cb_add_directory_t callback, in svn_editor_setcb_add_directory() argument
298 editor->funcs.cb_add_directory = callback; in svn_editor_setcb_add_directory()
305 svn_editor_cb_add_file_t callback, in svn_editor_setcb_add_file() argument
308 editor->funcs.cb_add_file = callback; in svn_editor_setcb_add_file()
315 svn_editor_cb_add_symlink_t callback, in svn_editor_setcb_add_symlink() argument
318 editor->funcs.cb_add_symlink = callback; in svn_editor_setcb_add_symlink()
325 svn_editor_cb_add_absent_t callback, in svn_editor_setcb_add_absent() argument
328 editor->funcs.cb_add_absent = callback; in svn_editor_setcb_add_absent()
335 svn_editor_cb_alter_directory_t callback, in svn_editor_setcb_alter_directory() argument
338 editor->funcs.cb_alter_directory = callback; in svn_editor_setcb_alter_directory()
[all …]
/trueos/sys/dev/isci/scil/
HDscic_sds_remote_node_context.h347 #define scic_sds_remote_node_context_resume(rnc, callback, parameter) \ argument
348 ((rnc)->state_handlers->resume_handler(rnc, callback, parameter))
350 #define scic_sds_remote_node_context_suspend(rnc, suspend_type, callback, parameter) \ argument
351 ((rnc)->state_handlers->suspend_handler(rnc, suspend_type, callback, parameter))
353 #define scic_sds_remote_node_context_destruct(rnc, callback, parameter) \ argument
354 ((rnc)->state_handlers->destruct_handler(rnc, callback, parameter))
/trueos/contrib/subversion/subversion/libsvn_subr/
HDcompat.c37 svn_commit_callback_t callback; member
47 if (cwb->callback) in commit_wrapper_callback()
48 return cwb->callback(commit_info->revision, in commit_wrapper_callback()
59 svn_commit_callback_t callback, in svn_compat_wrap_commit_callback() argument
67 cwb->callback = callback; in svn_compat_wrap_commit_callback()

12345678910>>...22