Revision 44290311 include/VirtualMachine.h

View differences:

include/VirtualMachine.h
964 964
     */
965 965
    void clear_template_monitor_error();
966 966

  
967

  
968 967
    // ------------------------------------------------------------------------
969 968
    // Timers & Requirements
970 969
    // ------------------------------------------------------------------------
......
993 992
     *    @param disk
994 993
     *    @param pci_dev
995 994
     */
996
    void get_requirements (int& cpu, int& memory, int& disk,
995
    void get_requirements(int& cpu, int& memory, int& disk,
997 996
            vector<VectorAttribute *>& pci_dev);
998 997

  
999 998
    /**
......
1013 1012
     *
1014 1013
     *    @return 0 on success
1015 1014
     */
1016
     int check_resize (float cpu, int memory, int vcpu, string& error_str);
1015
     int check_resize(float cpu, int memory, int vcpu, string& error_str);
1017 1016

  
1018 1017
    /**
1019 1018
     *  Resize the VM capacity
......
1024 1023
     *
1025 1024
     *    @return 0 on success
1026 1025
     */
1027
     int resize (float cpu, int memory, int vcpu, string& error_str);
1026
     int resize(float cpu, int memory, int vcpu, string& error_str);
1028 1027

  
1029 1028
    // ------------------------------------------------------------------------
1030 1029
    // Virtual Machine Disks
......
1132 1131
     *    @param  password Password to encrypt the token, if it is set
1133 1132
     *    @return -1 in case of error, 0 if the VM has no context, 1 on success
1134 1133
     */
1135
    int  generate_context(string &files, int &disk_id, const string& password);
1134
    int generate_context(string &files, int &disk_id, const string& password);
1136 1135

  
1137 1136
    /**
1138 1137
     * Returns the CREATED_BY template attribute, or the uid if it does not exist

Also available in: Unified diff