Globus Toolkit  6.0.1517984806
ssh-globus-usage.h
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 
32 ssh_usage_stats_init(int disable_usage_stats, char *usage_stats_targets);
33 
34 void
35 ssh_usage_stats_close(int disable_usage_stats);
36 
37 #endif /* HAVE_GLOBUS_USAGE */
38 
39 void
40 ssh_globus_send_usage_metrics(const char *ssh_release,
41  const char *ssl_release,
42  const char *method,
43  const char *mechanism,
44  const char *client_ip,
45  const char *username,
46  const char *userdn);
47 
48 #endif /* __SSH_GLOBUS_USAGE_H */
uint32_t globus_result_t
Definition: globus_types.h:99