2012-03-31 00:53:51 +03:00
|
|
|
/*
|
2012-06-26 03:14:48 +03:00
|
|
|
* comp.h - Component libraries
|
2012-03-31 00:53:51 +03:00
|
|
|
*
|
|
|
|
* Copyright 2012 by Werner Almesberger
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*/
|
|
|
|
|
2012-06-26 03:14:48 +03:00
|
|
|
#ifndef COMP_H
|
|
|
|
#define COMP_H
|
2012-03-31 00:53:51 +03:00
|
|
|
|
2012-04-17 14:45:20 +03:00
|
|
|
struct name {
|
|
|
|
const char *s;
|
|
|
|
struct name *next;
|
|
|
|
};
|
|
|
|
|
|
|
|
const char *lookup_sym(const char *name, const struct name **names, int *units);
|
2012-03-31 00:53:51 +03:00
|
|
|
void add_lib(const char *path);
|
|
|
|
void add_libdir(const char *path);
|
|
|
|
|
2012-06-26 03:14:48 +03:00
|
|
|
#endif /* !COMP_H */
|