1SYNCE_GET_CONNECTION_FILENAME(h3t)tp://www.synce.oSrYgN/CE_GET_CONNECTION_FILENAME(3)
2
3
4

NAME

6       synce_get_connection_filename - get synce connection filename
7

SYNOPSIS

9       #include <synce.h>
10
11       bool synce_get_connection_filename(char ** filename);
12
13       bool synce_set_connection_filename(const char * filename);
14
15       bool synce_set_default_connection_filename();
16

DESCRIPTION

18       These  functions are used with the vdccm(1) and dccm(1) connection dae‐
19       mons only. They are of no use when using odccm(1).
20
21       synce_get_connection_filename() provides a string describing the  loca‐
22       tion  of  the  synce  device  connection  file, written by (v)dccm. The
23       default file is ~/.synce/active_connection.
24
25       synce_set_connection_filename() sets  an  alternative  connection  file
26       name to use.
27
28       synce_set_default_connection_filename()  resets the connection filename
29       to its default value.
30

RETURN VALUE

32       Returns true if successful.  synce_get_connection_filename() fails  and
33       returns false if filename is an invalid pointer, or for any of the rea‐
34       sons synce_get_directory() would fail.  synce_set_connection_filename()
35       returns false if filename contains '..' or is too long.
36

SEE ALSO

38       synce(7) synce_get_directory(3)
39
40
41
42The SynCE Project                 2007-08-26  SYNCE_GET_CONNECTION_FILENAME(3)
Impressum