File: file.h

package info (click to toggle)
robodoc 4.0.18-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 924 kB
  • ctags: 669
  • sloc: ansic: 8,386; xml: 953; sh: 335; makefile: 144; perl: 68
file content (52 lines) | stat: -rw-r--r-- 1,556 bytes parent folder | download
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#ifndef ROBODOC_FILE_H
#define ROBODOC_FILE_H

#include <stdio.h>
#include "path.h"
#include "links.h"

/****s* Filename/RB_Filename
 * NAME
 *   RB_Filename --
 * ATTRIBUTES
 *   next   pointer to the next RB_File.
 *   name   null terminated string with the name of the file,
 *          (Without the path, but including the extension).
 *   fullname 
 *   path   pointer to a RB_Path structure that holds
 *          the path for this file.
 *   link   The link used to represent this file while in multidoc
 *          mode.
 * SOURCE
 */

struct RB_Filename
{
    struct RB_Filename *next;
    char               *name;
    char               *docname;
    char               *fullname;
    char               *fulldocname;
    struct RB_Path     *path;
    struct RB_link     *link;
};

/******/


struct RB_Filename *RB_Get_RB_Filename( char *arg_filename,
                                        struct RB_Path *arg_rb_path );
void                RB_Free_RB_Filename( struct RB_Filename
                                         *arg_rb_filename );
/* */
char               *RB_Get_Fullname( struct RB_Filename *arg_rb_filename );
char               *RB_Get_FullDocname( struct RB_Filename *arg_rb_filename );
char               *RB_Get_Path( struct RB_Filename *arg_rb_filename );
char               *RB_Get_Filename( struct RB_Filename *arg_rb_filename );
char               *RB_Get_Extension( struct RB_Filename *arg_rb_filename );

/* */
void                RB_Filename_Dump( struct RB_Filename *arg_rb_filename );


#endif /* ROBODOC_FILE_H */