also binary attribute values
authorAleš Křenek <ljocha@ics.muni.cz>
Fri, 5 Aug 2005 08:53:45 +0000 (08:53 +0000)
committerAleš Křenek <ljocha@ics.muni.cz>
Fri, 5 Aug 2005 08:53:45 +0000 (08:53 +0000)
org.glite.jp.common/interface/types.h

index 968889e..84910fe 100644 (file)
@@ -3,6 +3,9 @@
 
 #include <sys/time.h>
 
+#define GLITE_JP_SYSTEM_NS     "http://egee.cesnet.cz/en/WSDL/jp-system"
+#define GLITE_JP_ATTR_OWNER    GLITE_JP_SYSTEM_NS ":owner"
+
 typedef struct _glite_jp_error_t {
        int     code;
        const char      *desc;
@@ -32,6 +35,8 @@ typedef enum {
 typedef struct {
        char    *name;          /**< including namespace */
        char    *value;
+       int     binary;         /**< value is binary */
+       size_t  size;           /**< in case of binary value */
        glite_jp_attr_orig_t    origin; 
        char    *origin_detail; /**< where it came from, i.e. file URI:name */
        time_t  timestamp;