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:
parent
b196d8ee01
commit
92f2e793e8
@ -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);
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user