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.

23 lines
414 B

4 years ago
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. int nparams;
  15. } URL;
  16. URL *parseurl(char *urlstr);
  17. URL *urlalloc(void);
  18. #endif /* Symbol’s value as variable is void: \. */