Merge "next" branch into "master".
authorBen Pfaff <blp@nicira.com>
Wed, 17 Mar 2010 21:35:56 +0000 (14:35 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 17 Mar 2010 21:35:56 +0000 (14:35 -0700)
1  2 
lib/svec.h
lib/unixctl.h

diff --cc lib/svec.h
Simple merge
diff --cc lib/unixctl.h
@@@ -39,14 -35,11 +39,15 @@@ const char *unixctl_client_target(cons
  
  /* Command registration. */
  struct unixctl_conn;
+ typedef void unixctl_cb_func(struct unixctl_conn *,
+                              const char *args, void *aux);
  void unixctl_command_register(const char *name,
-                               void (*cb)(struct unixctl_conn *,
-                                          const char *args));
+                               unixctl_cb_func *cb, void *aux);
  void unixctl_command_reply(struct unixctl_conn *, int code,
                             const char *body);
 + 
 +#ifdef  __cplusplus
 +}
 +#endif
  
  #endif /* unixctl.h */