File: fetch.h

package info (click to toggle)
telak 0.5-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 140 kB
  • ctags: 66
  • sloc: ansic: 821; makefile: 69
file content (23 lines) | stat: -rw-r--r-- 516 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * telak - A program that display pictures in root window
 * (c) 2005 - Julien Danjou <julien@danjou.info>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2, as
 * published by the Free Software Foundation.
 *
 */

#ifndef FETCH_H
#define FETCH_H

struct remote_img
{
  char *file;
  FILE *stream;
};

size_t WriteMemoryCallback(void *ptr, size_t size, size_t nmemb, void *data);
int fetch(char *url, char *dest);

#endif