synce_get_connection_filename man page on DragonFly
Printed from http://www.polarhome.com/service/man/?qf=synce_get_connection_filename&af=0&tf=2&of=DragonFly
SYNCE_GET_CONNECTION_FILENAMEhttp://www.synce.SYNCE_GET_CONNECTION_FILENAME(3)
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 the vdccm(1) and dccm(1) connection dae‐
mons only. They are of no use when using odccm(1).
synce_get_connection_filename() provides a string describing the loca‐
tion 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 if filename is an invalid pointer, or for any of the rea‐
sons synce_get_directory() would fail. synce_set_connection_filename()
returns false if filename contains '..' or is too long.
SEE ALSO
synce(7) synce_get_directory(3)
The SynCE Project 2007-08-26 SYNCE_GET_CONNECTION_FILENAME(3)
[top]
List of man pages available for DragonFly
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|