lcshare.h #1

  • //
  • 2018-2/
  • guest/
  • joel_van_eenwyk/
  • p4/
  • 2018-2/
  • script/
  • libs/
  • lua-curlv3/
  • lcshare.h
  • View
  • Commits
  • Open Download .zip Download (750 B)
/******************************************************************************
* Author: Alexey Melnichuk <[email protected]>
*
* Copyright (C) 2014 Alexey Melnichuk <[email protected]>
*
* Licensed according to the included 'LICENSE' document
*
* This file is part of lua-lcurl library.
******************************************************************************/

#ifndef _LCSHARE_H_
#define _LCSHARE_H_

#include "lcurl.h"
#include "lcutils.h"

typedef struct lcurl_share_tag{
  CURLM *curl;
  int err_mode;
}lcurl_share_t;

int lcurl_share_create(lua_State *L, int error_mode);

lcurl_share_t *lcurl_getshare_at(lua_State *L, int i);

#define lcurl_getshare(L) lcurl_getshare_at((L),1)

void lcurl_share_initlib(lua_State *L, int nup);

#endif
# Change User Description Committed
#1 26288 Joel Van Eenwyk "Forking branch 2018-2 of perforce_software-p4 to joel_van_eenwyk-p4."
//guest/perforce_software/p4/2018-2/script/libs/lua-curlv3/lcshare.h
#1 25096 Nicholas Poole Populate //stream/workshop.