Revision 9b8862eb include/Image.h

View differences:

include/Image.h
286 286
     *  Type of the Image
287 287
     */
288 288
    ImageType    type;
289
    
289

  
290
    /**
291
     *  Public scope of the Image
292
     */
293
    string       public_img;
294

  
290 295
    /**
291 296
     *  Registration time
292 297
     */
......
370 375
        UID              = 1,    /* Image owner id              */
371 376
        NAME             = 2,    /* Image name                  */
372 377
        TYPE             = 3,    /* 0) OS 1) CDROM 2) DATABLOCK */
373
        REGTIME          = 4,    /* Time of registration        */
374
        SOURCE           = 5,    /* Path to the image           */
375
        STATE            = 6,    /* 0) INIT   1) ALLOCATED      */
378
        PUBLIC           = 4,    /* Public scope (YES OR NO)    */
379
        REGTIME          = 5,    /* Time of registration        */
380
        SOURCE           = 6,    /* Path to the image           */
381
        STATE            = 7,    /* 0) INIT   1) ALLOCATED      */
376 382
                                 /* 2) READY  3) USED           */
377
        RUNNING_VMS      = 7,    /* Number of VMs using the img */
378
        LIMIT            = 8
383
        RUNNING_VMS      = 8,    /* Number of VMs using the img */
384
        LIMIT            = 9
379 385
    };
380 386
    
381 387
    static const char * db_names;

Also available in: Unified diff