GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  EZ_CREATEDIRTREE (3)

NAME

EZ_CreateDirTree - create a directory tree

CONTENTS

Synopsis
Arguments
Description

SYNOPSIS


#include <EZ.h> 

typedef void *(*EZ_DirTreeNodeCreator) (char *path, void *data);

EZ_TreeNode *EZ_CreateDirTree(EZ_DirTreeNodeCreator nctr, char *pattern, void *client_data, int open_mode)

ARGUMENTS

nctr Specifies a function, the node creator.

pattern Specifies a pattern

client_data Specifies an arbitary client data, it will be attached to all nodes on the directory tree created

open_mode Specifies one of the three ways to open directory nodes, when a double left-mouse-button occurs on a directory node. Value must be one of EZ_DIR_NODE_OPEN_DIRECTORY_NONE, EZ_DIR_NODE_OPEN_DIREC-TORY_DEFAULT or EZ_DIR_NODE_OPEN_DIRECTORY_COLLAPSING. In the first mode, directory node cannot be opened, in the third mode, when a directory is opend, it collapse all other opened directory nodes. The second mode is the default, double click the left-mouse-button open/close the corresponding directory nodes.

The node creator should call EZ_CreateItem to create a display item for the given pathname, set up the item as needed by the application (configure appearance, register callbacks etc) and then call EZ_CreateTreeNode with NULL parent node and return the result.

DESCRIPTION

EZ_CreateDirTree finds all files that matches pattern and create a tree representation of them. The root of the tree is always root at "/".

SEE ALSO

EZ_CreateTreeNode(3), EZ_TreeFindNodeUsingItem(3)

Search for    or go to Top of page |  Section 3 |  Main Index


EZWGL EZ_CREATEDIRTREE (3)

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.