irods  4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.
  Fossies Dox: irods-4.2.8.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

getRescQuota.h File Reference
#include "rcConnect.h"
#include "objInfo.h"
#include "rodsType.h"
Include dependency graph for getRescQuota.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  getRescQuotaInp
 
struct  rescQuota
 

Macros

#define RESC_QUOTA_UNINIT   -1
 
#define RESC_QUOTA_OFF   0
 
#define RESC_QUOTA_ON   1
 
#define GLB_QUOTA   0x1
 
#define RESC_QUOTA   0x2
 
#define ALL_QUOTA   GLB_QUOTA|RESC_QUOTA
 
#define getRescQuotaInp_PI   "str rescName[NAME_LEN]; str userName[NAME_LEN]; str zoneHint[MAX_NAME_LEN]; int flags; int dummy; struct KeyValPair_PI;"
 
#define rescQuota_PI   "str rescName[NAME_LEN]; str userId[NAME_LEN]; int flags; int dummy; double quotaLimit; double quotaOverrun; struct *rescQuota_PI;"
 
#define GLOBAL_QUOTA   0x1
 

Typedefs

typedef struct getRescQuotaInp getRescQuotaInp_t
 
typedef struct rescQuota rescQuota_t
 

Functions

int rcGetRescQuota (rcComm_t *conn, getRescQuotaInp_t *getRescQuotaInp, rescQuota_t **rescQuota)
 
int freeAllRescQuota (rescQuota_t *rescQuotaHead)
 

Macro Definition Documentation

◆ ALL_QUOTA

#define ALL_QUOTA   GLB_QUOTA|RESC_QUOTA

Definition at line 17 of file getRescQuota.h.

◆ getRescQuotaInp_PI

#define getRescQuotaInp_PI   "str rescName[NAME_LEN]; str userName[NAME_LEN]; str zoneHint[MAX_NAME_LEN]; int flags; int dummy; struct KeyValPair_PI;"

Definition at line 27 of file getRescQuota.h.

◆ GLB_QUOTA

#define GLB_QUOTA   0x1

Definition at line 15 of file getRescQuota.h.

◆ GLOBAL_QUOTA

#define GLOBAL_QUOTA   0x1

Definition at line 41 of file getRescQuota.h.

◆ RESC_QUOTA

#define RESC_QUOTA   0x2

Definition at line 16 of file getRescQuota.h.

◆ RESC_QUOTA_OFF

#define RESC_QUOTA_OFF   0

Definition at line 11 of file getRescQuota.h.

◆ RESC_QUOTA_ON

#define RESC_QUOTA_ON   1

Definition at line 12 of file getRescQuota.h.

◆ RESC_QUOTA_UNINIT

#define RESC_QUOTA_UNINIT   -1

Definition at line 10 of file getRescQuota.h.

◆ rescQuota_PI

#define rescQuota_PI   "str rescName[NAME_LEN]; str userId[NAME_LEN]; int flags; int dummy; double quotaLimit; double quotaOverrun; struct *rescQuota_PI;"

Definition at line 38 of file getRescQuota.h.

Typedef Documentation

◆ getRescQuotaInp_t

◆ rescQuota_t

typedef struct rescQuota rescQuota_t

Function Documentation

◆ freeAllRescQuota()

int freeAllRescQuota ( rescQuota_t rescQuotaHead)

Definition at line 1526 of file rcMisc.cpp.

References rescQuota::next, and NULL.

Referenced by setRescQuota().