From: Adam Dickmeiss Date: Wed, 23 Sep 2009 10:46:03 +0000 (+0200) Subject: Header+footer for mmap stuff X-Git-Tag: v1.2.1~32 X-Git-Url: http://lists.indexdata.com/cgi-bin?a=commitdiff_plain;h=08303b063a01c5531f175e76358d78570e68bbb6;p=pazpar2-moved-to-github.git Header+footer for mmap stuff --- diff --git a/src/marchash.c b/src/marchash.c index 5def520..e41f86c 100644 --- a/src/marchash.c +++ b/src/marchash.c @@ -1,3 +1,26 @@ +/* This file is part of Pazpar2. + Copyright (C) 2006-2009 Index Data + +Pazpar2 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, or (at your option) any later +version. + +Pazpar2 is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +*/ + +/** \file + \brief MARC MAP utilities (hash lookup etc) +*/ + #include #include #include @@ -227,3 +250,11 @@ char *marchash_catenate_subfields (struct marcfield *field, char *delim, NMEM nm } return output; } +/* + * Local variables: + * c-basic-offset: 4 + * c-file-style: "Stroustrup" + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ diff --git a/src/marchash.h b/src/marchash.h index 74b7bbd..068798a 100644 --- a/src/marchash.h +++ b/src/marchash.h @@ -1,3 +1,22 @@ +/* This file is part of Pazpar2. + Copyright (C) 2006-2009 Index Data + +Pazpar2 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, or (at your option) any later +version. + +Pazpar2 is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +*/ + #ifndef MARCHASH_H #define MARCHASH_H @@ -31,3 +50,11 @@ struct marcsubfield *marchash_add_subfield (struct marchash *marchash, struct ma struct marcfield *marchash_get_field (struct marchash *marchash, char *key, struct marcfield *last); struct marcsubfield *marchash_get_subfield (char key, struct marcfield *field, struct marcsubfield *last); #endif +/* + * Local variables: + * c-basic-offset: 4 + * c-file-style: "Stroustrup" + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ diff --git a/src/marcmap.c b/src/marcmap.c index a468d3e..b3a447c 100644 --- a/src/marcmap.c +++ b/src/marcmap.c @@ -1,3 +1,26 @@ +/* This file is part of Pazpar2. + Copyright (C) 2006-2009 Index Data + +Pazpar2 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, or (at your option) any later +version. + +Pazpar2 is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +*/ + +/** \file + \brief MARC map implementation +*/ + #include #include #include @@ -189,3 +212,12 @@ xmlDoc *marcmap_apply(struct marcmap *marcmap, xmlDoc *xml_in) nmem_destroy(nmem); return xml_out; } + +/* + * Local variables: + * c-basic-offset: 4 + * c-file-style: "Stroustrup" + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ diff --git a/src/marcmap.h b/src/marcmap.h index 11eb34e..ba455b1 100644 --- a/src/marcmap.h +++ b/src/marcmap.h @@ -1,3 +1,22 @@ +/* This file is part of Pazpar2. + Copyright (C) 2006-2009 Index Data + +Pazpar2 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, or (at your option) any later +version. + +Pazpar2 is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +*/ + #ifndef MARCMAP_H #define MARCMAP_H @@ -13,3 +32,11 @@ struct marcmap *marcmap_load(char *filename, NMEM nmem); xmlDoc *marcmap_apply(struct marcmap *marcmap, xmlDoc *xml_in); #endif +/* + * Local variables: + * c-basic-offset: 4 + * c-file-style: "Stroustrup" + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */