ap

An audio player suited to my tastes
Log | Files | Refs | README | LICENSE

commit ae69e325d305e6d6eb99eb959bd4902de8a8eeea
parent e15c83daaa362fcabd54a393c146d430d3370504
Author: Jacob R. Edwards <n/a>
Date:   Mon, 10 Oct 2022 15:26:08 -0700

Separate the client header from the common headers

Now client.h includes ap.h, instead of the other way around.
Obviously not everyone using the library wants the client functions.

Diffstat:
Mapc/apc.c | 2+-
Mlib/ap/ap.h | 2--
Mlib/ap/client.c | 2+-
Mlib/ap/client.h | 2++
4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/apc/apc.c b/apc/apc.c @@ -32,7 +32,7 @@ static char *ewrite = "Unable to write request"; static char *eread = "Unable to read response"; -#include <ap/ap.h> +#include <ap/client.h> static char subchr = '^'; diff --git a/lib/ap/ap.h b/lib/ap/ap.h @@ -3,5 +3,3 @@ #include "item.h" #include "quote.h" #include "sock.h" - -#include "client.h" diff --git a/lib/ap/client.c b/lib/ap/client.c @@ -24,7 +24,7 @@ #include <stdlib.h> #include <string.h> -#include <ap/ap.h> +#include "client.h" void apc_free(struct apc *apc) diff --git a/lib/ap/client.h b/lib/ap/client.h @@ -1,3 +1,5 @@ +#include "ap.h" + struct apc { char *status; struct apcon *con;