From The Compiler, 6 Years ago, written in C.
Embed
  1. // $ sed -n '/CMD_BIND(/s/.*".*",[[:space:]]*\([^)]*\)),.*/\1/p' main.c | sort | uniq | while read fun; do grep -h "${fun}(.*;" *; done
  2. int command_chain_command(int argc, char** argv, GString* output);
  3. int complete_command(int argc, char** argv, GString* output);
  4. int disjoin_rects_command(int argc, char** argv, GString* output);
  5. int getenv_command(int argc, char** argv, GString* result);
  6. int key_list_binds(int argc, char** argv, GString* output);
  7. int list_commands(int argc, char** argv, GString* output);
  8. int list_monitors(int argc, char** argv, GString* output);
  9. int list_padding(int argc, char** argv, GString* output);
  10. int load_command(int argc, char** argv, GString* result);
  11. int monitor_rect_command(int argc, char** argv, GString* result);
  12. int print_layout_command(int argc, char** argv, GString* result);
  13. int print_stack_command(int argc, char** argv, GString* result);
  14. int print_tag_status_command(int argc, char** argv, GString* result);
  15. int set_monitor_rects_command(int argc, char** argv, GString* output);
  16. int settings_get(int argc, char** argv, GString* output);
  17. int tag_set_floating_command(int argc, char** argv, GString* result);
  18. int version(int argc, char* argv[], GString* result);
  19.