/* * bu_auth.c * * Copyright (c) Chris Putnam 2017-2018 * * Source code released under the GPL version 2 */ #include #include "bu_auth.h" const char *bu_genre[] = { "academic journal", "airtel", "collection", "communication", "Diploma thesis", "Doctoral thesis", "electronic", "e-mail communication" "Habilitation thesis", "handwritten note", "hearing", "journal article", "Licentiate thesis", "magazine", "magazine article", "manuscript", "Masters thesis", "memo", "miscellaneous", "newspaper article", "pamphlet", "Ph.D. thesis", "press release", "teletype", "television broadcast", "unpublished" }; int nbu_genre = sizeof( bu_genre ) / sizeof( const char *); static int position_in_list( const char *list[], int nlist, const char *query ) { int i; for ( i=0; i