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
index 24a9d8c80980e92cc37ba6f7ab0c6196d55356d0,0b6cbf3351d67941d40d2c64b6bc19a4a705e1fb..89199bb6f9ff43de6c89e0ffd8341b1687f889d9
@@@ -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 */