int aw_license_change (void)

DESCRIPTION

Changes the attributes of an existing world license.

CALLBACK

AW_CALLBACK_LICENSE_RESULT

NOTES

Only instances owned by the root account (citizen #1) may use aw_license_change.

Set AW_LICENSE_NAME to specify which license is being changed.   Note that aw_license_attributes,
aw_license_next, and aw_license_previous set AW_LICENSE_NAME automatically.

All license attributes are changed.  See aw_license_add for a list of all license attributes.

EXAMPLE

/* increase the user maximum in "aw" by 10 users */

int		rc;

if (aw_license_attributes ("aw")) {
  puts ("No such license");
  return;
  }
aw_int_set (AW_LICENSE_USERS, aw_int (AW_LICENSE_USERS) + 10);
if (rc = aw_license_change ())
  printf ("Unable to change license (reason %d)\n", rc);
else
  puts ("License changed");

SEE ALSO

aw_license_add
aw_license_attributes
aw_license_delete
aw_license_next
aw_license_previous