2 * Copyright 2009 The Board of Trustees of the University
3 * of Illinois. See the LICENSE file for detailed license information.
5 * Portions, specifically ssh_usage_stats_init(), ssh_usage_stats_close()
6 * were based on those from: gridftp/server/source/globus_i_gfs_log.h
7 * Copyright 1999-2006 University of Chicago
9 * Licensed under the Apache License, Version 2.0 (the "License");
10 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
22 #ifndef __SSH_GLOBUS_USAGE_H
23 #define __SSH_GLOBUS_USAGE_H
27 #ifdef HAVE_GLOBUS_USAGE
29 #include "globus_usage.h"
31 #define CILOGON_COLLECTOR "usage-stats.cilogon.org:4810"
34 ssh_usage_stats_init(int disable_usage_stats, char *usage_stats_targets);
37 ssh_usage_stats_close(int disable_usage_stats);
39 #endif /* HAVE_GLOBUS_USAGE */
42 ssh_globus_send_usage_metrics(char *ssh_release, const char *ssl_release,
43 char *method, char *mechanism, const char *client_ip,
44 char *username, char *userdn);
46 #endif /* __SSH_GLOBUS_USAGE_H */