You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
397 B

4 years ago
  1. /*
  2. * urlparse.h
  3. *
  4. * Created by Yigit Colakoglu on 07/06/2021.
  5. * Copyright yigit@yigitcolakoglu.com. 2021. All rights reserved.
  6. */
  7. #include "linkedlist.h"
  8. #ifndef urlparse_h
  9. #define urlparse_h
  10. typedef struct{
  11. unsigned int https : 1;
  12. char *base;
  13. LinkedList *params;
  14. } URL;
  15. URL *parseurl(char *urlstr);
  16. URL *urlalloc(void);
  17. #endif /* Symbol’s value as variable is void: \. */