From a10dd5c18fbf0b6d5746827f7a9ebfc078563d4a Mon Sep 17 00:00:00 2001
From: Samo Penic <samo@andromeda>
Date: Sun, 28 Nov 2010 13:56:21 +0000
Subject: [PATCH] The vertex is complete... Bond is in first version.

---
 src/vertex.h |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/vertex.h b/src/vertex.h
index 8a2a99f..1db3f1f 100644
--- a/src/vertex.h
+++ b/src/vertex.h
@@ -14,8 +14,11 @@
  *	@returns ts_bool value 1 on success, 0 otherwise
 */
 ts_vertex_list *init_vertex_list(ts_uint N);
-ts_vertex *init_vertex(ts_uint idx);
-ts_bool vtx_add_neighbour(ts_vertex **vtx, ts_vertex **nvtx);
-ts_bool vtx_free(ts_vertex **vtx);
+ts_vertex_data *init_vertex_data(void);
+ts_bool vtx_add_neighbour(ts_vertex *vtx, ts_vertex *nvtx);
+ts_bool vtx_add_cneighbour(ts_bond_list *blist,ts_vertex *vtx1,ts_vertex *vtx2);
+ts_bool vtx_add_bond(ts_bond_list *blist,ts_vertex *vtx1,ts_vertex *vtx2);
+ts_bool vtx_data_free(ts_vertex_data *data);
+ts_bool vtx_free(ts_vertex *vtx);
 ts_bool vtx_list_free(ts_vertex_list *vlist);
 #endif

--
Gitblit v1.9.3