Grassroots Infrastructure
The Grassroots Infrastructure is a suite of computing tools to help users and developers use scientific data infrastructure that can easily be interconnected.
user.h
Go to the documentation of this file.
1 /*
2 ** Copyright 2014-2016 The Earlham Institute
3 **
4 ** Licensed under the Apache License, Version 2.0 (the "License");
5 ** you may not use this file except in compliance with the License.
6 ** You may obtain a copy of the License at
7 **
8 ** http://www.apache.org/licenses/LICENSE-2.0
9 **
10 ** Unless required by applicable law or agreed to in writing, software
11 ** distributed under the License is distributed on an "AS IS" BASIS,
12 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 ** See the License for the specific language governing permissions and
14 ** limitations under the License.
15 */
16 
21 #ifndef IRODS_UTIL_USER_H
22 #define IRODS_UTIL_USER_H
23 
24 #include <time.h>
25 
26 #include <jansson.h>
27 
28 #include "irods_util_library.h"
29 
30 #include "query.h"
31 
32 
33 
34 
35 #ifdef __cplusplus
36 extern "C"
37 {
38 #endif
39 
40 
41 
55 IRODS_UTIL_API json_t *GetModifiedIRodsFiles (const char * const username_s, const char * const password_s, const time_t from, const time_t to);
56 
57 
68 IRODS_UTIL_API json_t *GetInterestedServicesForIrodsDataObject (const char *services_path_s, char * const username_s, char * const password_s, const char *data_name_s);
69 
70 
71 #ifdef __cplusplus
72 }
73 #endif
74 
75 
76 #endif /* #ifndef IRODS_UTIL_USER_H */
query.h
IRODS_UTIL_API
#define IRODS_UTIL_API
Definition: irods_util_library.h:46
irods_util_library.h
GetInterestedServicesForIrodsDataObject
json_t * GetInterestedServicesForIrodsDataObject(const char *services_path_s, char *const username_s, char *const password_s, const char *data_name_s)
Get all Services that can work on a given data object.
GetModifiedIRodsFiles
json_t * GetModifiedIRodsFiles(const char *const username_s, const char *const password_s, const time_t from, const time_t to)
Get all data objects for a given user modified within a given time interval.