X-Git-Url: http://git.indexdata.com/?p=yazproxy-moved-to-github.git;a=blobdiff_plain;f=include%2Fyazproxy%2Fmodule.h;h=2af8b90f64008bc5e4a285d95ec8b7244d8b6339;hp=1d0043c30ec31a60ab9a4a82b09d268e5479c5a7;hb=4f79f9b5b0095b2f81b1ce583f0f82462f9ee36a;hpb=7b429cd9f6320f71b949f7e90270266b2f617c07 diff --git a/include/yazproxy/module.h b/include/yazproxy/module.h index 1d0043c..2af8b90 100644 --- a/include/yazproxy/module.h +++ b/include/yazproxy/module.h @@ -1,5 +1,5 @@ /* This file is part of YAZ proxy - Copyright (C) 1998-2009 Index Data + Copyright (C) 1998-2011 Index Data YAZ proxy 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 @@ -36,9 +36,9 @@ struct Yaz_ProxyModule_int0 { void (*destroy)( // Destroy handler void *handle // module-specific handle as returned by init ); - + int (*authenticate)( // Authenticate handler. Returns YAZPROXY_RET_.. - void *handle, // module-specific handle as returned by init + void *handle, // module-specific handle as returned by init const char *name, // target name (or NULL if default target) void *element_ptr, // xmlnodePtr thing to XML config this const char *user, // User ID (or NULL if no suppliied User ID) @@ -72,6 +72,7 @@ class Yaz_ProxyModules { /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab