summaryrefslogtreecommitdiff
path: root/src/include/gtm/path.h
blob: 4f32214df21d95e21c964960fda1302358564f02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*-------------------------------------------------------------------------
 *
 * path.h
 *
 *
 * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
 * Portions Copyright (c) 1994, Regents of the University of California
 * Portions Copyright (c) 2010-2012 Postgres-XC Development Group
 *
 * $PostgreSQL$
 *
 *-------------------------------------------------------------------------
 */
#ifndef _PATH_H
#define _PATH_H

#include "gtm/gtm_c.h"

extern void canonicalize_path(char *path);
extern char *make_absolute_path(const char *path);
extern void get_parent_directory(char *path);
extern void join_path_components(char *ret_path, const char *head, const char *tail);

#endif