PrefixList Event

Fires once for each common prefix returned when listing objects.

Syntax

ANSI (Cross Platform)
virtual int FirePrefixList(S3ClientPrefixListEventParams *e);
typedef struct {
const char *BucketName;
const char *Prefix; int reserved; } S3ClientPrefixListEventParams; Unicode (Windows) virtual INT FirePrefixList(S3ClientPrefixListEventParams *e);
typedef struct {
LPCWSTR BucketName;
LPCWSTR Prefix; INT reserved; } S3ClientPrefixListEventParams;
- (void)onPrefixList:(NSString*)bucketName :(NSString*)prefix;
#define EID_S3CLIENT_PREFIXLIST 10

virtual INT IPWORKSS3_CALL FirePrefixList(LPSTR &lpszBucketName, LPSTR &lpszPrefix);

Remarks

This event fires once for each common prefix returned when ListObjects or ListVersions is called when ObjectDelimiter is non-empty. Refer to ObjectDelimiter for more information.

BucketName reflects the name of the bucket that the prefix is in.

Prefix is the common prefix.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks S3 2020 C++ Edition - Version 20.0 [Build 8178]