Revision 8c1dacab include/Quota.h

View differences:

include/Quota.h
110 110
     *    @return true if the request does not exceed current limits
111 111
     */
112 112
    bool check_quota(const string& qid, 
113
                     map<string, int>& usage_req,
113
                     map<string, float>& usage_req,
114 114
                     string& error);
115 115

  
116 116
    /**
......
179 179
     *    @param va_name name of the quota in the vector attribute
180 180
     *    @param num value to add to the current quota;
181 181
     */
182
    void add_to_quota(VectorAttribute * attr, const string& va_name, int num);
182
    void add_to_quota(VectorAttribute * attr, const string& va_name, float num);
183 183

  
184 184
    /** 
185 185
     *  Sets new limit values for the quota

Also available in: Unified diff