/usr/include/globus/globus_ftp_client_debug_plugin.h is in libglobus-ftp-client-dev 8.36-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | /*
* Copyright 1999-2006 University of Chicago
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef GLOBUS_FTP_CLIENT_DEBUG_PLUGIN_H
#define GLOBUS_FTP_CLIENT_DEBUG_PLUGIN_H
/**
* @file globus_ftp_client_debug_plugin.h
* @brief GridFTP Debugging Plugin Implementation
*/
/**
* @defgroup globus_ftp_client_debug_plugin Debugging Plugin
* @ingroup globus_ftp_client_plugins
*
* The FTP Debugging plugin provides a way for the user to trace FTP
* protocol messages which occur while the GridFTP client library
* processes an FTP operation. This may be useful for debugging FTP
* configuration problems.
*
* When this plugin is used for a GridFTP Client operation, information
* will be printed to the file stream associated with the plugin when a user
* begins an operation, for all data buffers which pass through while
* handling a data transfer, and for all protocol messages which are sent and
* received.
*/
/**
* @example globus_ftp_client_debug_plugin.example
*
* The following example illustrates a typical use of the debug plugin.
* In this case, we configure a plugin instance to output log messages
* preceded by the process name and pid to a file named gridftp.log.
*/
#include "globus_ftp_client_plugin.h"
#ifdef __cplusplus
extern "C" {
#endif
/** Module descriptor
* @ingroup globus_ftp_client_debug_plugin
*/
#define GLOBUS_FTP_CLIENT_DEBUG_PLUGIN_MODULE \
(&globus_i_ftp_client_debug_plugin_module)
extern globus_module_descriptor_t globus_i_ftp_client_debug_plugin_module;
globus_result_t
globus_ftp_client_debug_plugin_init(
globus_ftp_client_plugin_t * plugin,
FILE * stream,
const char * text);
globus_result_t
globus_ftp_client_debug_plugin_destroy(
globus_ftp_client_plugin_t * plugin);
#ifdef __cplusplus
}
#endif
#endif /* GLOBUS_FTP_CLIENT_DEBUG_PLUGIN_H */
|