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