pixwhile/routes/users/common.h

11 lines
341 B
C
Raw Normal View History

2023-04-05 16:36:20 +00:00
#pragma once
2023-06-07 09:16:03 +00:00
#include <httplib/httplib.h>
2023-04-05 16:36:20 +00:00
#include "../../blankie/serializer.h"
struct User; // forward declaration from ../../pixivmodels.h
2023-04-05 16:36:20 +00:00
struct Config; // forward declaration from ../../config.h
using Element = blankie::html::Element;
2023-06-07 09:16:03 +00:00
Element generate_user_header(const User& user, const httplib::Request& req, const Config& config);