A clone of btpd with my configuration changes.
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

123456789101112131415161718192021
  1. #ifndef BTPD_IF_H
  2. #define BTPD_IF_H
  3. #include <sys/types.h>
  4. #include <sys/socket.h>
  5. #include <sys/un.h>
  6. struct ipc {
  7. struct sockaddr_un addr;
  8. };
  9. int ipc_open(const char *key, struct ipc **out);
  10. int ipc_close(struct ipc *ipc);
  11. int btpd_add(struct ipc *ipc, char **path, unsigned npaths, char **out);
  12. int btpd_del(struct ipc *ipc, uint8_t (*hash)[20],
  13. unsigned nhashes, char **out);
  14. int btpd_die(struct ipc *ipc);
  15. int btpd_stat(struct ipc *ipc, char **out);
  16. #endif