File: PCV.h

package info (click to toggle)
spooles 2.2-5
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 18,824 kB
  • ctags: 3,665
  • sloc: ansic: 146,828; csh: 3,615; makefile: 2,045; perl: 70
file content (58 lines) | stat: -rw-r--r-- 1,394 bytes parent folder | download | duplicates (7)
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
53
54
55
56
57
58
/*  PCV.h  */

/*--------------------------------------------------------------------*/
/*
   --------------------------------------------
   purpose -- to free a pointer to char vector
              must have been created by PCVinit

   created -- 95sep22, cca
   --------------------------------------------
*/
void
PCVfree ( 
   char **p_cvec 
) ;
/*--------------------------------------------------------------------*/
/*
   ---------------------------------------------
   purpose -- to allocate and initialize to NULL
              a vector of pointer to char

   created -- 95sep22, cca
   ---------------------------------------------
*/
char **
PCVinit ( 
   int size 
) ;
/*--------------------------------------------------------------------*/
/*
   -------------------------------------
   purpose -- to set up a pointer vector

   created -- 95sep22, cca
   -------------------------------------
*/
void
PCVsetup ( 
   int    length, 
   int    sizes[], 
   char   cvec[], 
   char   *p_cvec[] 
) ;
/*--------------------------------------------------------------------*/
/*
   -----------------------------------
   purpose -- to copy a pointer vector

   created -- 95sep22, cca
   -----------------------------------
*/
void
PCVcopy ( 
   int    length, 
   char   *p_cvec1[], 
   char   *p_cvec2[] 
) ;
/*--------------------------------------------------------------------*/