summaryrefslogtreecommitdiff
path: root/kicad/lib.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-09-06 23:00:36 -0300
committerWerner Almesberger <werner@almesberger.net>2016-09-07 00:00:36 -0300
commit38a7235477becdb9c9343a73e20bfddb3d0a99f2 (patch)
tree85da888ef9bcf6c4671c0e4e81f21815b36765f6 /kicad/lib.h
parent9c960d57be28ba51307f13d6422068349431568b (diff)
downloadeeshow-38a7235477becdb9c9343a73e20bfddb3d0a99f2.tar.gz
eeshow-38a7235477becdb9c9343a73e20bfddb3d0a99f2.tar.bz2
eeshow-38a7235477becdb9c9343a73e20bfddb3d0a99f2.zip
kicad/lib-parse.c (lib_parse_search, lib_find_file): search LibDir and default paths
Diffstat (limited to 'kicad/lib.h')
-rw-r--r--kicad/lib.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/kicad/lib.h b/kicad/lib.h
index f146091..12addc9 100644
--- a/kicad/lib.h
+++ b/kicad/lib.h
@@ -19,6 +19,7 @@
#include "file/file.h"
#include "gfx/text.h"
#include "gfx/gfx.h"
+#include "kicad/ext.h"
enum pin_shape {
@@ -142,6 +143,10 @@ void lib_render_extra(const struct comp *comp, struct gfx *gfx,
bool lib_parse_file(struct lib *lib, struct file *file);
bool lib_parse(struct lib *lib, const char *name, const struct file *related);
+bool lib_find_file(struct file *file, const char *name,
+ const struct file_names *fn, const struct file *related);
+bool lib_parse_search(struct lib *lib, const char *name,
+ const struct file_names *fn, const struct file *related);
void lib_init(struct lib *lib);
void lib_free(struct lib *lib);