treewrite: use Lindent to reformat to kernel coding style
[oweals/opkg-lede.git] / libopkg / opkg_cmd.h
index 9ca42ff82b85443cab8a821a0bfe3d05d698334f..e23d773aec804a5ec4cdd20e9a95880a653c9ca3 100644 (file)
 #ifndef OPKG_CMD_H
 #define OPKG_CMD_H
 
-typedef int (*opkg_cmd_fun_t)(int argc, const char **argv);
-
-struct opkg_cmd
-{
-    const char *name;
-    int requires_args;
-    opkg_cmd_fun_t fun;
-    unsigned int pfm; /* package field mask */
+typedef int (*opkg_cmd_fun_t) (int argc, const char **argv);
+
+struct opkg_cmd {
+       const char *name;
+       int requires_args;
+       opkg_cmd_fun_t fun;
+       unsigned int pfm;       /* package field mask */
 };
 typedef struct opkg_cmd opkg_cmd_t;
 
 opkg_cmd_t *opkg_cmd_find(const char *name);
-int opkg_cmd_exec(opkg_cmd_t *cmd, int argc, const char **argv);
+int opkg_cmd_exec(opkg_cmd_t * cmd, int argc, const char **argv);
 
 extern int opkg_state_changed;
 #endif