X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyazproxy%2Fmodule.h;h=2af8b90f64008bc5e4a285d95ec8b7244d8b6339;hb=4f79f9b5b0095b2f81b1ce583f0f82462f9ee36a;hp=d238925b36ec924b35472f5bdd96413a8084c00a;hpb=dfdff5f2d2825a500d3d27200d2ec32ee063a975;p=yazproxy-moved-to-github.git diff --git a/include/yazproxy/module.h b/include/yazproxy/module.h index d238925..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)