main(int argc, char *argv[])
{
edg_wll_Context ctx;
- int operation = EDG_WLL_ACL_ADD;
- int permission = EDG_WLL_PERM_READ;
- int permission_type = EDG_WLL_PERM_ALLOW;
- int user_id_type = EDG_WLL_USER_SUBJECT;
+ int operation = EDG_WLL_CHANGEACL_ADD;
+ int permission = EDG_WLL_CHANGEACL_READ;
+ int permission_type = EDG_WLL_CHANGEACL_ALLOW;
+ int user_id_type = EDG_WLL_CHANGEACL_DN;
edg_wlc_JobId jobid;
int opt;
int ret;
while ((opt=getopt(argc, argv, "rdg")) != -1)
switch(opt) {
- case 'r': operation = EDG_WLL_ACL_REMOVE; break;
- case 'd': permission_type = EDG_WLL_PERM_DENY; break;
- case 'g': user_id_type = EDG_WLL_USER_VOMS_GROUP; break;
+ case 'r': operation = EDG_WLL_CHANGEACL_REMOVE; break;
+ case 'd': permission_type = EDG_WLL_CHANGEACL_DENY; break;
+ case 'g': user_id_type = EDG_WLL_CHANGEACL_GROUP; break;
default:
usage(argv[0]);
return 1;