1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

interlink: exported get_sun_path.

It will be used by semaphores and a shared memory in the future.
This commit is contained in:
Witold Filipczyk 2007-07-14 16:45:32 +02:00 committed by Witold Filipczyk
parent b196d8ee01
commit 92f2e793e8
2 changed files with 5 additions and 1 deletions

View File

@ -110,7 +110,7 @@ enum addr_type {
* It returns 0 on error (in this case, there's no need
* to free anything).
* It returns 1 on success. */
static int
int
get_sun_path(struct string *sun_path)
{
assert(sun_path);

View File

@ -2,8 +2,12 @@
#define EL__MAIN_INTERLINK_H
#ifdef CONFIG_INTERLINK
struct string;
int get_sun_path(struct string *sun_path);
int init_interlink(void);
void done_interlink(void);
#else
#define init_interlink() (-1)
#define done_interlink()