about summary refs log tree commit diff stats
path: root/html/apps/raytracing
Commit message (Expand)AuthorAgeFilesLines
* 7476Kartik Agaram2020-12-306-6/+6
* 7306Kartik Agaram2020-11-293-21/+21
* 7252Kartik Agaram2020-11-166-128/+128
* 7227Kartik Agaram2020-11-114-11/+11
* 7175Kartik Agaram2020-11-031-1/+1
* 7162Kartik Agaram2020-11-026-497/+649
* 6959Kartik Agaram2020-10-052-962/+415
* 6958Kartik Agaram2020-10-057-421/+1285
* 6951 - 4 colors for Mu as wellKartik Agaram2020-10-041-83/+85
* 6950Kartik Agaram2020-10-041-0/+459
* 6938 - start colorizing floating-point registersKartik Agaram2020-10-031-6/+6
* 6937Kartik Agaram2020-10-031-20/+23
* 6936Kartik Agaram2020-10-031-0/+146
* 6929Kartik Agaram2020-10-031-22/+32
* 6927 - working on a raytracing tutorialKartik Agaram2020-10-031-0/+83
ight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
#ifndef TOOLS_HTTP_UPLOAD_H
#define TOOLS_HTTP_UPLOAD_H

#include <curl/curl.h>

// forward -> ui/win_types.h
typedef struct prof_win_t ProfWin;

typedef struct http_upload_t {
    char *filename;
    off_t filesize;
    curl_off_t bytes_sent;
    char *mime_type;
    char *get_url;
    char *put_url;
    ProfWin *window;
    pthread_t worker;
    int cancel;
} HTTPUpload;

//GSList *upload_processes;

void* http_file_put(void *userdata) {}

char* file_mime_type(const char* const file_name) {}
off_t file_size(const char* const file_name) {}

#endif