New find action -hide, new find test -hidden
This commit is contained in:
@ -870,6 +870,25 @@ int Findjob_set_lba_range(struct FindjoB *o, int start_lba, int count,
|
||||
}
|
||||
|
||||
|
||||
int Findjob_set_test_hidden(struct FindjoB *o, int mode, int flag)
|
||||
{
|
||||
struct ExprtesT *t;
|
||||
int ret;
|
||||
|
||||
ret= Findjob_default_and(o, 0);
|
||||
if(ret <= 0)
|
||||
return(ret);
|
||||
|
||||
t= o->cursor->test;
|
||||
t->test_type= 17;
|
||||
t->arg1= calloc(sizeof(int), 1);
|
||||
if(t->arg1 == NULL)
|
||||
return(-1);
|
||||
*((int *) t->arg1)= mode;
|
||||
return(1);
|
||||
}
|
||||
|
||||
|
||||
/* @param value -1= files without ACL, 1= only files with ACL
|
||||
*/
|
||||
int Findjob_set_acl_filter(struct FindjoB *o, int value, int flag)
|
||||
|
Reference in New Issue
Block a user