SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE




YUM REPOSITORY

 
 

SYNCE_GET_CONNECTION_FILENAME

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

NAME

synce_get_connection_filename - get synce connection filename 

SYNOPSIS

#include <synce.h>bool synce_get_connection_filename(char ** filename);bool synce_set_connection_filename(const char * filename);bool synce_set_default_connection_filename();
 

DESCRIPTION

These functions are used with thevdccm(1)anddccm(1)connection daemons only. They are of no use when usingodccm(1).

synce_get_connection_filename()provides a string describing the location of the synce device connection file, written by (v)dccm. The default file is ~/.synce/active_connection.

synce_set_connection_filename()sets an alternative connection file name to use.

synce_set_default_connection_filename()resets the connection filename to its default value. 

RETURN VALUE

Returns true if successful.synce_get_connection_filename()fails and returns false iffilenameis an invalid pointer, or for any of the reasonssynce_get_directory()would fail. synce_set_connection_filename()returns false iffilenamecontains '..' or is too long. 

SEE ALSO

synce(7)synce_get_directory(3)


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO

This document was created byman2html,using the manual pages.