Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dCache
cta
Commits
f28c7688
Commit
f28c7688
authored
20 years ago
by
Benjamin Couturier
Committed by
Steven Murray
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Imported from std repository and added CA_MAXDMPROTNAMELEN
parent
fda7b01c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mediachanger/castorrmc/h/Castor_limits.h
+63
-0
63 additions, 0 deletions
mediachanger/castorrmc/h/Castor_limits.h
with
63 additions
and
0 deletions
mediachanger/castorrmc/h/Castor_limits.h
0 → 100644
+
63
−
0
View file @
f28c7688
/*
* Castor_limits.h,v 1.27 2004/02/12 15:38:08 obarring Exp
*/
/*
* Copyright (C) 1999-2003 by CERN/IT/PDP/DM
* All rights reserved
*/
/*
* @(#)Castor_limits.h,v 1.27 2004/02/12 15:38:08 CERN IT-PDP/DM Jean-Philippe Baud
*/
#ifndef _CASTOR_LIMITS_H
#define _CASTOR_LIMITS_H
/* all maximum lengths defined below do not include the trailing null */
#define CA_MAXDENNUM 24
/* ... */
#define CA_MAXCLASNAMELEN 15
/* maximum length for a fileclass name */
#define CA_MAXCOMMENTLEN 255
/* maximum length for user comments in metadata */
#define CA_MAXDENFIELDS 9
/* maximum number of density values in devinfo */
#define CA_MAXDENLEN 8
/* maximum length for a alphanumeric density */
#define CA_MAXDGNLEN 6
/* maximum length for a device group name */
#define CA_MAXDVNLEN 63
/* maximum length for a device name */
#define CA_MAXDVTLEN 8
/* maximum length for a device type */
#define CA_MAXFIDLEN 17
/* maximum length for a fid (DSN) */
#define CA_MAXFSEQLEN 14
/* maximum length for a fseq string */
#define CA_MAXGRPNAMELEN 2
/* maximum length for a group name */
#define CA_MAXHOSTNAMELEN 63
/* maximum length for a hostname */
#define CA_MAXLBLTYPLEN 3
/* maximum length for a label type */
#define CA_MAXLINELEN 1023
/* maximum length for a line in a log */
#define CA_MAXMANUFLEN 12
/* maximum length for a cartridge manufacturer */
#define CA_MAXMIGPNAMELEN 15
/* maximum length for a migration policy name */
#define CA_MAXMIGRNAMELEN 15
/* maximum length for a migrator name */
#define CA_MAXMLLEN 1
/* maximum length for a cartridge media_letter */
#define CA_MAXMODELLEN 6
/* maximum length for a cartridge model */
#define CA_MAXNAMELEN 231
/* maximum length for a pathname component */
#define CA_MAXNBDRIVES 32
/* maximum number of tape drives per server */
#define CA_MAXPATHLEN 1023
/* maximum length for a pathname */
#define CA_MAXPOOLNAMELEN 15
/* maximum length for a pool name */
#define CA_MAXRBTNAMELEN 17
/* maximum length for a robot name */
#define CA_MAXRECFMLEN 3
/* maximum length for a record format */
#define CA_MAXREGEXPLEN 63
/* Maximum length for a regular expression */
#define CA_MAXSHORTHOSTLEN 10
/* maximum length for a hostname without domain */
#define CA_MAXSNLEN 24
/* maximum length for a cartridge serial nb */
#define CA_MAXSTGRIDLEN 77
/* maximum length for a stager full request id */
/* must be >= nb digits in CA_MAXSTGREQID +
CA_MAXHOSTNAMELEN + 8 */
#define CA_MAXSTGREQID 999999
/* maximum value for a stager request id */
#define CA_MAXTAGLEN 255
/* maximum length for a volume tag */
#define CA_MAXTAPELIBLEN 8
/* maximum length for a tape library name */
#define CA_MAXUNMLEN 8
/* maximum length for a drive name */
#define CA_MAXUSRNAMELEN 14
/* maximum length for a login name */
#define CA_MAXVIDLEN 6
/* maximum length for a VID */
#define CA_MAXVSNLEN 6
/* maximum length for a VSN */
#define CA_MAXCKSUMNAMELEN 15
/* maximum length for a checksum algorithm name */
#define CA_MAXDNPROTNAMELEN 15
/* maximum length for Disk Mover protocol name */
/* Max allowed uid/gif */
#define CA_MAXUID 0x7FFFFFFF
/* Maximum uid */
#define CA_MAXGID 0x7FFFFFFF
/* Maximum gid */
#endif
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment