Changeset b623b68 in mainline


Ignore:
Timestamp:
2013-09-26T09:24:46Z (11 years ago)
Author:
Martin Sucha <sucha14@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4d4f656
Parents:
3ce68b7
Message:

Split libhttp into include and src directories

Location:
uspace
Files:
3 edited
8 moved

Legend:

Unmodified
Added
Removed
  • uspace/app/download/Makefile

    r3ce68b7 rb623b68  
    2929USPACE_PREFIX = ../..
    3030LIBS = $(LIBHTTP_PREFIX)/libhttp.a $(LIBURI_PREFIX)/liburi.a
    31 EXTRA_CFLAGS = -I$(LIBHTTP_PREFIX) -I$(LIBURI_PREFIX)
     31EXTRA_CFLAGS = -I$(LIBHTTP_PREFIX)/include -I$(LIBURI_PREFIX)
    3232DEFS = -DRELEASE=$(RELEASE)
    3333BINARY = download
  • uspace/app/download/main.c

    r3ce68b7 rb623b68  
    4747#include <net/socket.h>
    4848
    49 #include <http.h>
     49#include <http/http.h>
    5050#include <uri.h>
    5151
  • uspace/lib/http/Makefile

    r3ce68b7 rb623b68  
    3131SLIBRARY = libhttp.so.0.0
    3232LSONAME = libhttp.so0
    33 #EXTRA_CFLAGS +=
     33EXTRA_CFLAGS += -Iinclude
    3434
    3535SOURCES = \
    36         http.c \
    37         headers.c \
    38         request.c \
    39         response.c \
    40         receive-buffer.c
     36        src/http.c \
     37        src/headers.c \
     38        src/request.c \
     39        src/response.c \
     40        src/receive-buffer.c
    4141
    4242include $(USPACE_PREFIX)/Makefile.common
  • uspace/lib/http/src/headers.c

    r3ce68b7 rb623b68  
    3939#include <macros.h>
    4040
    41 #include "http.h"
    42 #include "http-ctype.h"
     41#include <http/http.h>
     42#include <http/ctype.h>
    4343
    4444#define HTTP_HEADER_LINE "%s: %s\r\n"
  • uspace/lib/http/src/http.c

    r3ce68b7 rb623b68  
    4242#include <inet/dnsr.h>
    4343
    44 #include "http.h"
    45 #include "receive-buffer.h"
     44#include <http/http.h>
     45#include <http/receive-buffer.h>
    4646
    4747static ssize_t http_receive(void *client_data, void *buf, size_t buf_size)
  • uspace/lib/http/src/receive-buffer.c

    r3ce68b7 rb623b68  
    4141#include <adt/list.h>
    4242
    43 #include "receive-buffer.h"
     43#include <http/receive-buffer.h>
    4444
    4545int recv_buffer_init(receive_buffer_t *rb, size_t buffer_size,
  • uspace/lib/http/src/request.c

    r3ce68b7 rb623b68  
    4141#include <net/socket.h>
    4242
    43 #include "http.h"
     43#include <http/http.h>
    4444
    4545#define HTTP_METHOD_LINE "%s %s HTTP/1.1\r\n"
  • uspace/lib/http/src/response.c

    r3ce68b7 rb623b68  
    3939#include <macros.h>
    4040
    41 #include "http.h"
     41#include <http/http.h>
    4242
    4343int http_parse_status(const char *line, http_version_t *out_version,
Note: See TracChangeset for help on using the changeset viewer.