Move struct tags_handle declaration to correct tagsread prototype.
authorZdeněk Salvet <salvet@ics.muni.cz>
Thu, 25 Aug 2005 15:27:13 +0000 (15:27 +0000)
committerZdeněk Salvet <salvet@ics.muni.cz>
Thu, 25 Aug 2005 15:27:13 +0000 (15:27 +0000)
org.glite.jp.primary/src/tags_plugin.c

index 2cc3d3d..953ace9 100644 (file)
@@ -16,6 +16,12 @@ static int tagopen(void *,void *,const char *uri,void **);
 static int tagclose(void *,void *);
 static int tagattr(void *,void *,const char *,glite_jp_attrval_t **);
 
+struct tags_handle {
+       void    *bhandle;
+       int     n;
+       glite_jp_attrval_t      *tags;
+};
+
 static int tagsread(void *,struct tags_handle *);
 
 #define TAGS_MAGIC 0x74c016f2  /* two middle digits encode version, i.e. 01 */
@@ -26,12 +32,6 @@ static int tagdummy()
        return -1;
 }
 
-struct tags_handle {
-       void    *bhandle;
-       int     n;
-       glite_jp_attrval_t      *tags;
-};
-
 int init(glite_jp_context_t ctx, glite_jpps_fplug_data_t *data)
 {
        data->fpctx = ctx;