]> andersk Git - gssapi-openssh.git/blame - openssh/ssh-globus-usage.h
Added support for reporting usage metrics.
[gssapi-openssh.git] / openssh / ssh-globus-usage.h
CommitLineData
9f2c8cb9 1/*
2 * Copyright 2009 The Board of Trustees of the University
3 * of Illinois. See the LICENSE file for detailed license information.
4 *
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
8 *
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
12 *
13 * http://www.apache.org/licenses/LICENSE-2.0
14 *
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.
20 */
21
22#ifndef __SSH_GLOBUS_USAGE_H
23#define __SSH_GLOBUS_USAGE_H
24
25#include "includes.h"
26
27#ifdef HAVE_GLOBUS_USAGE
28
29#include "globus_usage.h"
30
31#define CILOGON_COLLECTOR "usage-stats.cilogon.org:4810"
32
33globus_result_t
34ssh_usage_stats_init(int disable_usage_stats, char *usage_stats_targets);
35
36void
37ssh_usage_stats_close(int disable_usage_stats);
38
39#endif /* HAVE_GLOBUS_USAGE */
40
41void
42ssh_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);
45
46#endif /* __SSH_GLOBUS_USAGE_H */
This page took 0.06226 seconds and 5 git commands to generate.