Revision b38874a0 include/ZonePool.h

View differences:

include/ZonePool.h
128 128
    };
129 129

  
130 130
    /**
131
     *  Get the servers of a zone
132
     *    @param zone_id of the zone
133
     *    @param _serv list of servers and associated xml-rpc endpoints
134
     *    @return the number of servers in the zone
135
     */
136
    unsigned int get_zone_servers(int zone_id,
137
            std::map<unsigned int, std::string>& _serv);
138

  
139
    /**
140
     *  Return the list of zones defined
141
     *    @param zone_ids of the zones
142
     *    @return 0 on success
143
     */
144
    int list_zones(vector<int>& zone_ids)
145
    {
146
        return list( zone_ids, Zone::table);
147
    }
148

  
149
    /**
131 150
     * ID for the special local zone in stand-alone mode
132 151
     */
133 152
    static const int STANDALONE_ZONE_ID;

Also available in: Unified diff