openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/pdbg/2.2+gitAUTOINC+dbbb35af95-r0/git/libpdbg/target.c
struct pdbg_target_class* find_target_class(const char* name)
{
    struct pdbg_target_class* target_class = NULL;

    list_for_each(&target_classes, target_class,
                  class_head_link) if (!strcmp(target_class->name,
                                               name)) return target_class;

    return NULL;
}
/* Finds the given class. Returns NULL if not found. */
Finds the given class. Returns NULL if not found.
Finds the given class . Returns NULL if not found .
struct pdbg_target_class* find_target_class(const char* name)
{
    struct pdbg_target_class* target_class = NULL;
    list_for_each(&target_classes, target_class,
                  class_head_link) if (!strcmp(target_class->name,
                                               name)) return target_class;
    return NULL;
}
struct pdbg_target_class * find_target_class ( const char * name ) { struct pdbg_target_class * target_class = NULL ; list_for_each ( & target_classes , target_class , class_head_link ) if ( ! strcmp ( target_class -> name , name ) ) return target_class ; return NULL ; }
Finds the given class.
Finds the given class .