Home | History | Annotate | Download | only in engine

Lines Matching full:engine

1 /* crypto/engine/eng_list.c */
66 /* The linked-list of pointers to engine types. engine_list_head
71 * "prev" pointer in each ENGINE is to save excessive list iteration,
76 static ENGINE *engine_list_head = NULL;
77 static ENGINE *engine_list_tail = NULL;
84 ENGINE *iterator = engine_list_head;
96 static int engine_list_add(ENGINE *e)
99 ENGINE *iterator = NULL;
147 /* Having the engine in the list assumes a structural
157 static int engine_list_remove(ENGINE *e)
159 ENGINE *iterator;
191 /* Get the first/last "ENGINE" type available. */
192 ENGINE *ENGINE_get_first(void)
194 ENGINE *ret;
207 ENGINE *ENGINE_get_last(void)
209 ENGINE *ret;
222 /* Iterate to the next/previous "ENGINE" type (NULL = end of the list). */
223 ENGINE *ENGINE_get_next(ENGINE *e)
225 ENGINE *ret = NULL;
236 /* Return a valid structural refernce to the next ENGINE */
241 /* Release the structural reference to the previous ENGINE */
246 ENGINE *ENGINE_get_prev(ENGINE *e)
248 ENGINE *ret = NULL;
259 /* Return a valid structural reference to the next ENGINE */
264 /* Release the structural reference to the previous ENGINE */
269 /* Add another "ENGINE" type into the list. */
270 int ENGINE_add(ENGINE *e)
295 /* Remove an existing "ENGINE" type from the array. */
296 int ENGINE_remove(ENGINE *e)
316 static void engine_cpy(ENGINE *dest, const ENGINE *src)
350 ENGINE *ENGINE_by_id(const char *id)
352 ENGINE *iterator;
367 * ENGINE type that returns copies, make a duplicate - otherwise
368 * increment the existing ENGINE's reference count. */
371 ENGINE *cp = ENGINE_new();
398 /* Prevent infinite recusrion if we're looking for the dynamic engine. */
425 int ENGINE_up_ref(ENGINE *e)