Main Page | Modules | Data Structures | File List | Data Fields | Globals

globus_callout.c File Reference

Globus Callout Infrastructure. More...

#include "globus_common.h"
#include "globus_callout_constants.h"
#include "globus_i_callout.h"
#include "ltdl.h"
#include "version.h"

Go to the source code of this file.

Initialize Handle

Destroy Handle

Configure Callouts

Invoking Callouts

Defines

Functions

Variables


Detailed Description

Globus Callout Infrastructure.

Author:
Sam Meder
RCSfile
globus_callout.c,v
Revision
1.22
Date
2005/04/18 22:59:12

Definition in file globus_callout.c.


Define Documentation

#define GLOBUS_I_CALLOUT_HASH_SIZE   64
 

Definition at line 37 of file globus_callout.c.

Referenced by globus_callout_handle_init().


Function Documentation

void globus_l_callout_library_table_element_free (
     void * element ) [static]
 

Definition at line 776 of file globus_callout.c.

References GLOBUS_CALLOUT_ERROR_RESULT, GLOBUS_CALLOUT_ERROR_WITH_DL, GLOBUS_I_CALLOUT_DEBUG_ENTER, and GLOBUS_I_CALLOUT_DEBUG_EXIT.

Referenced by globus_callout_handle_destroy().

00778 {
00779     lt_dlhandle *                       dlhandle;
00780     globus_result_t                     result;
00781     static char *                       _function_name_ =
00782         "globus_l_callout_library_table_element_free";
00783     GLOBUS_I_CALLOUT_DEBUG_ENTER;
00784 
00785     dlhandle = (lt_dlhandle *) element;
00786 
00787     if(dlhandle != NULL)
00788     { 
00789         if(*dlhandle != NULL)
00790         {
00791             if(lt_dlclose(*dlhandle) < 0)
00792             {
00793                 GLOBUS_CALLOUT_ERROR_RESULT(
00794                     result,
00795                     GLOBUS_CALLOUT_ERROR_WITH_DL,
00796                     ("failed to close library"));
00797             }
00798         }
00799 
00800         free(dlhandle);
00801     }
00802     
00803     GLOBUS_I_CALLOUT_DEBUG_EXIT;
00804     return;
00805 }

void globus_l_callout_data_free (
     globus_i_callout_data_t * data ) [static]
 

Definition at line 743 of file globus_callout.c.

References globus_i_callout_data_s::file, globus_i_callout_data_t, GLOBUS_I_CALLOUT_DEBUG_ENTER, GLOBUS_I_CALLOUT_DEBUG_EXIT, globus_i_callout_data_s::symbol, and globus_i_callout_data_s::type.

Referenced by globus_callout_handle_destroy(), globus_callout_read_config(), and globus_callout_register().

00745 {
00746     static char *                       _function_name_ =
00747         "globus_l_callout_data_free";
00748     GLOBUS_I_CALLOUT_DEBUG_ENTER;
00749 
00750     if(data != NULL)
00751     {
00752         if(data->type != NULL)
00753         {
00754             free(data->type);
00755         }
00756         
00757         if(data->file != NULL)
00758         {
00759             free(data->file);
00760         }
00761         
00762         if(data->symbol != NULL)
00763         {
00764             free(data->symbol);
00765         }
00766         
00767         free(data);
00768     }
00769     
00770     GLOBUS_I_CALLOUT_DEBUG_EXIT;
00771 }


Variable Documentation

int globus_i_callout_debug_level = 0
 

Definition at line 51 of file globus_callout.c.

Referenced by globus_l_callout_activate().

FILE* globus_i_callout_debug_fstream = NULL
 

Definition at line 52 of file globus_callout.c.

Referenced by globus_l_callout_activate(), and globus_l_callout_deactivate().


about globus | grid research | globus toolkit | software development

Comments? webmaster@globus.org