le_pathIter.h
Go to the documentation of this file.
1 
2 //--------------------------------------------------------------------------------------------------
141 //--------------------------------------------------------------------------------------------------
149 //--------------------------------------------------------------------------------------------------
150 
151 #ifndef LEGATO_PATH_ITER_INCLUDE_GUARD
152 #define LEGATO_PATH_ITER_INCLUDE_GUARD
153 
154 
155 //--------------------------------------------------------------------------------------------------
159 //--------------------------------------------------------------------------------------------------
160 typedef struct le_pathIter_t* le_pathIter_Ref_t;
161 
162 
163 //--------------------------------------------------------------------------------------------------
170 //--------------------------------------------------------------------------------------------------
172 (
173  const char* pathPtr,
174  const char* separatorPtr,
175  const char* parentSpecPtr,
177  const char* currentSpecPtr
180 );
182 
183 
184 //--------------------------------------------------------------------------------------------------
197 //--------------------------------------------------------------------------------------------------
199 (
200  const char* pathPtr
201 );
203 
204 
205 //--------------------------------------------------------------------------------------------------
211 //--------------------------------------------------------------------------------------------------
213 (
214  le_pathIter_Ref_t originalRef
215 );
216 
217 
218 //--------------------------------------------------------------------------------------------------
222 //--------------------------------------------------------------------------------------------------
224 (
225  le_pathIter_Ref_t iterRef
226 );
227 
228 
229 //--------------------------------------------------------------------------------------------------
233 //--------------------------------------------------------------------------------------------------
235 (
236  le_pathIter_Ref_t iterRef,
237  char* bufferPtr,
238  size_t bufferSize
239 );
240 
241 
242 //--------------------------------------------------------------------------------------------------
248 //--------------------------------------------------------------------------------------------------
250 (
251  le_pathIter_Ref_t iterRef,
252  char* bufferPtr,
253  size_t bufferSize
254 );
255 
256 
257 //--------------------------------------------------------------------------------------------------
263 //--------------------------------------------------------------------------------------------------
265 (
266  le_pathIter_Ref_t iterRef,
267  char* bufferPtr,
268  size_t bufferSize
269 );
270 
271 
272 //--------------------------------------------------------------------------------------------------
279 //--------------------------------------------------------------------------------------------------
281 (
282  le_pathIter_Ref_t iterRef,
283  char* bufferPtr,
284  size_t bufferSize
285 );
286 
287 
288 //--------------------------------------------------------------------------------------------------
295 //--------------------------------------------------------------------------------------------------
297 (
298  le_pathIter_Ref_t iterRef
299 );
300 
301 
302 //--------------------------------------------------------------------------------------------------
309 //--------------------------------------------------------------------------------------------------
311 (
312  le_pathIter_Ref_t iterRef
313 );
314 
315 
316 //--------------------------------------------------------------------------------------------------
323 //--------------------------------------------------------------------------------------------------
325 (
326  le_pathIter_Ref_t iterRef
327 );
328 
329 
330 //--------------------------------------------------------------------------------------------------
337 //--------------------------------------------------------------------------------------------------
339 (
340  le_pathIter_Ref_t iterRef
341 );
342 
343 
344 //--------------------------------------------------------------------------------------------------
354 //--------------------------------------------------------------------------------------------------
356 (
357  le_pathIter_Ref_t iterRef,
358  char* bufferPtr,
359  size_t bufferSize
360 );
361 
362 
363 //--------------------------------------------------------------------------------------------------
371 //--------------------------------------------------------------------------------------------------
373 (
374  le_pathIter_Ref_t iterRef
375 );
376 
377 
378 //--------------------------------------------------------------------------------------------------
401 //--------------------------------------------------------------------------------------------------
403 (
404  le_pathIter_Ref_t iterRef,
405  const char* pathStr
406 );
407 
408 
409 //--------------------------------------------------------------------------------------------------
416 //--------------------------------------------------------------------------------------------------
418 (
419  le_pathIter_Ref_t iterRef
420 );
421 
422 
423 //--------------------------------------------------------------------------------------------------
429 //--------------------------------------------------------------------------------------------------
431 (
432  le_pathIter_Ref_t iterRef
433 );
434 
435 
436 #endif // LEGATO_PATH_ITER_INCLUDE_GUARD
le_result_t le_pathIter_GetCurrentSpecifier(le_pathIter_Ref_t iterRef, char *bufferPtr, size_t bufferSize)
bool le_pathIter_IsEmpty(le_pathIter_Ref_t iterRef)
le_result_t
Definition: le_basics.h:35
le_pathIter_Ref_t le_pathIter_Create(const char *pathPtr, const char *separatorPtr, const char *parentSpecPtr, const char *currentSpecPtr)
le_result_t le_pathIter_Append(le_pathIter_Ref_t iterRef, const char *pathStr)
void le_pathIter_Truncate(le_pathIter_Ref_t iterRef)
le_result_t le_pathIter_GoToPrev(le_pathIter_Ref_t iterRef)
struct le_pathIter_t * le_pathIter_Ref_t
Definition: le_pathIter.h:160
le_result_t le_pathIter_GetParentSpecifier(le_pathIter_Ref_t iterRef, char *bufferPtr, size_t bufferSize)
le_result_t le_pathIter_GoToNext(le_pathIter_Ref_t iterRef)
void le_pathIter_Delete(le_pathIter_Ref_t iterRef)
le_result_t le_pathIter_GetPath(le_pathIter_Ref_t iterRef, char *bufferPtr, size_t bufferSize)
bool le_pathIter_IsAbsolute(le_pathIter_Ref_t iterRef)
le_result_t le_pathIter_GetCurrentNode(le_pathIter_Ref_t iterRef, char *bufferPtr, size_t bufferSize)
le_pathIter_Ref_t le_pathIter_Clone(le_pathIter_Ref_t originalRef)
le_result_t le_pathIter_GoToEnd(le_pathIter_Ref_t iterRef)
le_result_t le_pathIter_GetSeparator(le_pathIter_Ref_t iterRef, char *bufferPtr, size_t bufferSize)
le_result_t le_pathIter_GoToStart(le_pathIter_Ref_t iterRef)
le_pathIter_Ref_t le_pathIter_CreateForUnix(const char *pathPtr)