Go to the source code of this file.
|
||
|
Definition at line 22 of file gaa_plugin.h. Referenced by gaa_l_plugin_parse_param(). |
|
||
|
Definition at line 29 of file gaa_plugin.h. |
|
||
|
Definition at line 40 of file gaa_plugin.h. |
|
||
|
Definition at line 51 of file gaa_plugin.h. |
|
||
|
Definition at line 61 of file gaa_plugin.h. |
|
||
|
Definition at line 70 of file gaa_plugin.h. |
|
||
|
Definition at line 81 of file gaa_plugin.h. |
|
||
|
Definition at line 89 of file gaa_plugin.h. |
|
||
|
Definition at line 97 of file gaa_plugin.h. |
|
||
|
Definition at line 105 of file gaa_plugin.h. |
|
||
|
Definition at line 117 of file gaa_plugin.h. |
|
||
|
Definition at line 15 of file gaa_plugin.h.
00015 {
00016 GAA_PLUGIN_NULL_PARAM, /* no parameter set */
00017 GAA_PLUGIN_TEXT_PARAM, /* parameter expressed as text */
00018 GAA_PLUGIN_SYMBOLIC_PARAM, /* parameter expressed as a symbol */
00019 GAA_PLUGIN_VALUE_PARAM /* parameter expressed as a pointer */
00020 };
|
|
|||||||||
|
Definition at line 97 of file gaa_init.c. References gaa_l_init(), gaa_plugin_default_copy_pval(), gaa_plugin_default_copy_rval(), gaa_plugin_default_free_pval(), gaa_plugin_default_matchrights(), gaa_plugin_default_new_pval(), gaa_plugin_default_new_rval(), gaa_plugin_default_pval2str(), gaa_plugin_default_rval2str(), and gaa_plugin_default_valmatch().
00099 {
00100 gaa_string_data cfname = (gaa_string_data) param;
00101 gaa_status status = GAA_S_SUCCESS;
00102 gaa_valinfo_ptr pvinfo = 0;
00103 gaa_valinfo_ptr rvinfo = 0;
00104
00105 /* Init from config file (if any). */
00106 if ((status = gaa_l_init(gaa, cfname)) != GAA_S_SUCCESS)
00107 return(status);
00108
00109 /* Ensure that all mandatory callbacks have been installed. */
00110 if (! gaacore_has_matchrights_callback(*gaa))
00111 if ((status =
00112 gaa_set_matchrights_callback(*gaa, gaa_plugin_default_matchrights,
00113 0, 0)) != GAA_S_SUCCESS)
00114 goto end;
00115 if (! gaacore_has_default_authinfo_callback(*gaa))
00116 {
00117 if ((status =
00118 gaa_new_valinfo(&pvinfo,
00119 gaa_plugin_default_copy_pval,
00120 gaa_plugin_default_new_pval,
00121 gaa_plugin_default_free_pval,
00122 gaa_plugin_default_pval2str)) != GAA_S_SUCCESS)
00123 goto end;
00124 if ((status =
00125 gaa_new_valinfo(&rvinfo,
00126 gaa_plugin_default_copy_rval,
00127 gaa_plugin_default_new_rval,
00128 free,
00129 gaa_plugin_default_rval2str)) != GAA_S_SUCCESS)
00130 goto end;
00131 if ((status = gaa_add_authinfo(*gaa, 0, pvinfo, rvinfo,
00132 gaa_plugin_default_valmatch,
00133 0, 0)) != GAA_S_SUCCESS)
00134 goto end;
00135 }
00136 end:
00137 if (status != GAA_S_SUCCESS)
00138 {
00139 gaa_free_gaa(*gaa);
00140 *gaa = 0;
00141 }
00142 return(status);
00143 }
|
about globus |
grid research |
globus toolkit |
software development
Comments? webmaster@globus.org