internal.h (4bdf0bc300314141e5475e145acb8b5ad846f00d) internal.h (e57e8669f2ab8350d30f771dd2fdd5377f183db2)
1/* Authentication token and access key management internal defs
2 *
3 * Copyright (C) 2003-5, 2007 Red Hat, Inc. All Rights Reserved.
4 * Written by David Howells (dhowells@redhat.com)
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version

--- 85 unchanged lines hidden (view full) ---

94extern int __key_link_check_live_key(struct key *keyring, struct key *key);
95extern void __key_link(struct key *keyring, struct key *key,
96 unsigned long *_prealloc);
97extern void __key_link_end(struct key *keyring,
98 const struct keyring_index_key *index_key,
99 unsigned long prealloc);
100
101extern key_ref_t __keyring_search_one(key_ref_t keyring_ref,
1/* Authentication token and access key management internal defs
2 *
3 * Copyright (C) 2003-5, 2007 Red Hat, Inc. All Rights Reserved.
4 * Written by David Howells (dhowells@redhat.com)
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version

--- 85 unchanged lines hidden (view full) ---

94extern int __key_link_check_live_key(struct key *keyring, struct key *key);
95extern void __key_link(struct key *keyring, struct key *key,
96 unsigned long *_prealloc);
97extern void __key_link_end(struct key *keyring,
98 const struct keyring_index_key *index_key,
99 unsigned long prealloc);
100
101extern key_ref_t __keyring_search_one(key_ref_t keyring_ref,
102 const struct keyring_index_key *index_key,
103 key_perm_t perm);
102 const struct keyring_index_key *index_key);
104
105extern struct key *keyring_search_instkey(struct key *keyring,
106 key_serial_t target_id);
107
108typedef int (*key_match_func_t)(const struct key *, const void *);
109
110struct keyring_search_context {
111 struct keyring_index_key index_key;

--- 162 unchanged lines hidden ---
103
104extern struct key *keyring_search_instkey(struct key *keyring,
105 key_serial_t target_id);
106
107typedef int (*key_match_func_t)(const struct key *, const void *);
108
109struct keyring_search_context {
110 struct keyring_index_key index_key;

--- 162 unchanged lines hidden ---