summaryrefslogtreecommitdiff
path: root/node.h
blob: 16f1e048df18833026a331b34b6c1222a33871f0 (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
25
26
/**********************************************************
 * node.h
 *
 * Copyright 2004, Stefan Siegl <stesie@brokenpipe.de>, Germany
 * 
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Publice License,
 * version 2 or any later. The license is contained in the COPYING
 * file that comes with the cvsfs distribution.
 *
 * code related to handling (aka create, etc.) netfs nodes
 */

#ifndef NODE_H
#define NODE_H

/* create a struct node* for the specified netnode 'nn'.   */
struct node *cvsfs_make_node(struct netnode *);

/* create a "virtual" struct node* for the specified netnode, which must
 * represent a version controlled file.  Call with revision == NULL to 
 * create some kind of parent directory.
 */
struct node *cvsfs_make_virtual_node(struct netnode *, struct revision *);

#endif /* NODE_H */