gattrib
|
Functions to operate on attributes in STRING_LISTs. More...
#include <config.h>
#include <stdio.h>
#include <math.h>
#include <libgeda/libgeda.h>
#include "../include/struct.h"
#include "../include/prototype.h"
#include "../include/globals.h"
Go to the source code of this file.
Functions | |
int | s_attrib_name_in_list (STRING_LIST *name_value_list, char *name) |
Detect "name" in STRING_LIST. | |
char * | s_attrib_get_refdes (OBJECT *object) |
Locate the refdes associated with an object. |
Various functions to operate on attribute name=value pairs in supplied STRING_LIST structs.
Definition in file s_attrib.c.
int s_attrib_name_in_list | ( | STRING_LIST * | name_value_list, |
char * | name | ||
) |
This function is passed a STRING_LIST of name=value pairs, and a name.
name_value_list | pointer to STRING_LIST to search |
name | name string to search for |
Definition at line 59 of file s_attrib.c.
char* s_attrib_get_refdes | ( | OBJECT * | object | ) |
This fcn takes an object, finds its refdes and returns it.
object | Pointer to the object to search for. |
Definition at line 92 of file s_attrib.c.