| 215 | } |
| 216 | |
| 217 | struct proc_properties * get_processor_properties(const char * uuid) { |
| 218 | if (!uuid) { |
| 219 | return NULL; |
| 220 | } |
| 221 | struct processor_params * pp = NULL; |
| 222 | HASH_FIND_STR(procparams, uuid, pp); |
| 223 | if (!pp) { |
| 224 | return NULL; |
| 225 | } |
| 226 | return pp->properties; |
| 227 | } |
| 228 | |
| 229 | void add_processor_properties(const char * uuid, struct proc_properties * const props) { |
| 230 | struct processor_params * pp = get_proc_params(uuid); |
no outgoing calls
no test coverage detected