SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE


YUM REPOSITORY

 
 

SYNCE_GET_DIRECTORY

Section: http://www.synce.org/ (3)
Updated: 2007-08-26
Index 

NAME

synce_get_directory - get synce configuration directory 

SYNOPSIS

#include <synce.h>bool synce_get_directory(char ** path);bool synce_get_subdirectory(const char * name, char ** path);bool synce_get_script_directory(char ** path);
 

DESCRIPTION

Thesynce_get_directory()function provides a string describing the location of the synce configuration directory. If the environment variableSYNCE_CONF_DIRis set, it's value is returned. The default location is ~/.synce.

Thesynce_get_subdirectory()function provides a string describing the location of the subdirectorynamein the synce configuration directory.namecannot contain '/'.

Thesynce_get_script_directory()function provides a string describing the location of the script subdirectoryin the synce configuration directory. 

RETURN VALUE

Returns true if successful. Fails and returns false ifpathis an invalid pointer,SYNCE_CONF_DIRis not set and user cannot be determined, or the directory does not exist. 

SEE ALSO

synce(7)


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO

This document was created byman2html,using the manual pages.