File: attr.h

package info (click to toggle)
tcllib 2.0%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 83,560 kB
  • sloc: tcl: 306,798; ansic: 14,272; sh: 3,035; xml: 1,766; yacc: 1,157; pascal: 881; makefile: 124; perl: 84; f90: 84; python: 33; ruby: 13; php: 11
file content (49 lines) | stat: -rw-r--r-- 1,750 bytes parent folder | download | duplicates (2)
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
/* struct::graph - critcl - layer 1 declarations
 * (c) Graph functions
 */

#ifndef _G_ATTR_H
#define _G_ATTR_H 1
/* .................................................. */

#include "tclpre9compat.h"
#include <ds.h>

/* .................................................. */

void     g_attr_dup      (Tcl_HashTable** Astar, Tcl_HashTable* src);
void     g_attr_extend   (Tcl_HashTable** Astar);
void     g_attr_delete   (Tcl_HashTable** Astar);
void     g_attr_keys     (Tcl_HashTable* attr, Tcl_Interp* interp,
			  Tcl_Size pc, Tcl_Obj* const* pv);
void     g_attr_kexists  (Tcl_HashTable* attr, Tcl_Interp* interp,
			  Tcl_Obj* key);
void     g_attr_set      (Tcl_HashTable* attr, Tcl_Interp* interp,
			  Tcl_Obj* key, Tcl_Obj* value);
void     g_attr_append   (Tcl_HashTable* attr, Tcl_Interp* interp,
			  Tcl_Obj* key, Tcl_Obj* value);
void     g_attr_lappend  (Tcl_HashTable* attr, Tcl_Interp* interp,
			  Tcl_Obj* key, Tcl_Obj* value);
int      g_attr_get      (Tcl_HashTable* attr, Tcl_Interp* interp,
			  Tcl_Obj* key, Tcl_Obj* o, const char* sep);
void     g_attr_getall   (Tcl_HashTable* attr, Tcl_Interp* interp,
			  Tcl_Size pc, Tcl_Obj* const* pv);
void     g_attr_unset    (Tcl_HashTable* attr, Tcl_Obj* key);
int      gc_attr         (GCC* gx, int mode, Tcl_Obj* detail,
			  Tcl_Interp* interp, Tcl_Obj* key,
			  GN_GET_GC* gf, G* g);
int      g_attr_serok    (Tcl_Interp* interp,    Tcl_Obj* aserial,
			  const char* what);
Tcl_Obj* g_attr_serial   (Tcl_HashTable*  attr,  Tcl_Obj* empty);
void     g_attr_deserial (Tcl_HashTable** Astar, Tcl_Obj* dict);

/* .................................................. */
#endif /* _G_ATTR_H */

/*
 * Local Variables:
 * mode: c
 * c-basic-offset: 4
 * fill-column: 78
 * End:
 */