aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/wtap.h
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2007-06-06 20:56:38 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2007-06-06 20:56:38 +0000
commit475916db3c9a110549f18e27b80e395aec3042fe (patch)
tree5def5a57025d63db880123a07202117cb45c6597 /wiretap/wtap.h
parentf345f716a2c6e8eea4e2a3a9ad8f387be3f853bf (diff)
Actually implement wtap_register_file_type() and have it returning the ID of the new file type.
Add few functions to wiretap's exported API. svn path=/trunk/; revision=22060
Diffstat (limited to 'wiretap/wtap.h')
-rw-r--r--wiretap/wtap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/wtap.h b/wiretap/wtap.h
index 08a74eab61..cd19bf909b 100644
--- a/wiretap/wtap.h
+++ b/wiretap/wtap.h
@@ -739,7 +739,7 @@ int wtap_get_num_encap_types(void);
int wtap_get_num_file_types(void);
void wtap_register_open_routine(wtap_open_routine_t,gboolean);
int wtap_register_encap_type(char* name, char* short_name);
-void wtap_register_file_type(const struct file_type_info*);
+int wtap_register_file_type(const struct file_type_info*);
/*
* Wiretap error codes.
*/