1LFC_DELREPLICAS(3)                LFC      Library      Functions
2LFC_DELREPLICAS(3)
3
4
5
6[1mNAME[0m
7       lfc_delreplicas  ‐  delete  replica   entries   associated
8with a list of
9       GUIDs and a particular se
10
11[1mSYNOPSIS[0m
12       [1m#include <sys/types.h>[0m
13       [1m#include "lfc_api.h"[0m
14
15       [1mint  lfc_delreplicas  (int [4m[22mnbguids[24m[1m, const
16char  **[4m[22mguids[24m[1m,  char  *[4m[22mse[24m[1m,  int[0m
17       [1m*[4m[22mnbstatuses[24m[1m,     int     **[4m[22mstatus‐
18es[24m[1m)[0m
19
20[1mDESCRIPTION[0m
21       [1mlfc_delreplicas  [22mdeletes replica entries associated
22with a list of GUIDs
23       and a particular se.
24
25       [4mnbguids[0m
26              specifies  the  number  of  guids  in   the   array
27[4mguids[24m.
28
29       [4mguids[24m   specifies  the  list of Grid Unique IDenti‐
30fiers.
31
32       [4mse[24m     allows to restrict the replica entries to  a
33given SE.
34
35       [4mnbstatuses[0m
36              will  be  set to the number of replies in the array
37of statuses.
38
39       [4mstatuses[0m
40              will be set to the address of an array  of  integer
41statuses allo‐
42              cated   by   the   API.  The  client application is
43responsible for
44              freeing the array when not needed anymore.
45
46[1mRETURN VALUE[0m
47       This routine returns 0 if the operation was successful  or
48‐1  if  the
49       operation failed. In the latter case, [1mserrno [22mis set
50appropriately.
51
52[1mERRORS[0m
53       [1mENOENT       [22mThe named guid does not exist.
54
55       [1mEACCES       [22mSearch  permission   is  denied  on  a
56component of the parent
57                    directory or write permission  is  denied  on
58the  parent
59                    directory or the parent has  the  sticky  bit
60S_ISVTX set and
61
62                      the   effective   user  ID of the requestor
63does not match
64                      the owner ID of the file and
65
66                      the effective  user  ID  of  the  requestor
67does  not  match
68                      the owner ID of the directory and
69
70                      the  file  is not writable by the requestor
71and
72
73                      the  requestor does not have  ADMIN  privi‐
74lege in the Cupv
75                      database.
76
77       [1mENOMEM       [22mMemory could not be allocated for mar‐
78shalling the  request
79                    or unmarshalling the reply.
80
81       [1mEFAULT       [4m[22mguids[24m, [4mse[24m,  [4mnbstatus‐
82es[24m or [4mstatuses[24m is a NULL pointer.
83
84       [1mEINVAL        [4m[22mnbguids[24m  is not strictly posi‐
85tive, the length of one of the
86                    [4mguids[24m exceeds [1mCA_MAXGUIDLEN  [22mor
87the length  of  [4mse[24m  exceeds
88                    [1mCA_MAXHOSTNAMELEN[22m.
89
90       [1mSENOSSERV    [22mService unknown.
91
92       [1mSEINTERNAL   [22mDatabase error.
93
94       [1mSECOMERR     [22mCommunication error.
95
96       [1mENSNACT      [22mName server is not running or is being
97shutdown.
98
99[1mSEE ALSO[0m
100       [1mCastor_limits(4)[22m, [1mlfc_delreplica(3)[0m
101
102[1mAUTHOR[0m
103       [1mLCG Grid Deployment [22mTeam
104
105
106
107LFC                         $Date:    2007/12/13    11:59:47    $
108LFC_DELREPLICAS(3)
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
Impressum